Part Number Hot Search : 
24497 624B0 D85035S UPD3777 URF1660 PL001 XE1040 IRF9622
Product Description
Full Text Search
 

To Download W25Q16DWBYIG Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  w25q16dw publication release date: september 06, 2012 - 1 - revision f 1.8v 16m-bit serial flash memory with dual/quad spi & qpi
w25q16dw - 2 - table of contents 1. general description ............................................................................................................... 5 2. features .............................................................................................................................. ......... 5 3. package types and pin configurations ........................................................................... 6 3.1 pin configuration soic 150 / 208-mil .................................................................................. 6 3.2 pad configuration wson 6x5-mm, uson 4x3-mm ............................................................ 6 3.3 pin description soic 150 / 208-mil, wson 6x5-mm, uson 4x3-mm ................................ 6 3.4 ball configuration wlbga ................................................................................................... 7 3.5 ball description wlbga ....................................................................................................... 7 3.6 pin configuration soic16 300-mil ....................................................................................... 8 3.7 pin description soic16 300-mil ........................................................................................... 8 4. pin descriptions ........................................................................................................................ 9 4.1 chip select (/cs) .................................................................................................................. 9 4.2 serial data input, output and ios (di, do and io0, io1, io2, io3) ..................................... 9 4.3 write protect (/wp) .............................................................................................................. 9 4.4 hold (/hold) ..................................................................................................................... 9 4.5 serial clock (clk) ................................................................................................................ 9 5. block diagram .......................................................................................................................... 10 6. functional description ....................................................................................................... 11 6.1 spi/qpi operations ...................................................................................................... 11 6.1.1 standard spi instructions ..................................................................................................... 11 6.1.2 dual spi instructions ............................................................................................................ 11 6.1.3 quad spi instructions ........................................................................................................... 12 6.1.4 qpi instructions .................................................................................................................... 12 6.1.5 hold function ....................................................................................................................... 12 6.2 write protection ....................................................................................................... 13 6.2.1 write protect features ......................................................................................................... 13 7. status registers and instructions ............................................................................... 14 7.1 status registers ........................................................................................................ 14 7.1.1 busy .............................................................................................................................. ...... 14 7.1.2 write enable latch (wel) .................................................................................................... 14 7.1.3 block protect bits (bp2, bp1, bp0) ...................................................................................... 14 7.1.4 top/bottom block protect (tb) ............................................................................................. 14 7.1.5 sector/block protect (sec) .................................................................................................. 14 7.1.6 complement protect (cmp) .................................................................................................. 14 7.1.7 status register protect (srp1, srp0) ................................................................................. 15 7.1.8 erase/program suspend status (sus) ................................................................................ 15 7.1.9 security register lock bits (lb3, lb2, lb1, lb0) ................................................................ 15 7.1.10 quad enable (qe) .............................................................................................................. 15
w25q16dw 7.1.11 w25q16dw status register memory protection (cmp = 0) ............................................. 17 publication release date: september 06, 2012 - 3 - revision f 7.1.12 w25q16dw status register memory protection (cmp = 1) ............................................. 18 7.2 instructions ................................................................................................................. 19 7.2.1 manufacturer and device identification ................................................................................ 19 7.2.2 instruction set table 1 (standard spi instructions) ............................................................. 20 7.2.3 instruction set table 2 (dual spi instructions) ..................................................................... 21 7.2.4 instruction set table 3 (quad spi instructions) ................................................................... 21 7.2.5 instruction set table 4 (qpi instructions) ............................................................................. 22 7.2.6 write enable (06h) ............................................................................................................... 24 7.2.7 write enable for volatile status register (50h) .................................................................... 24 7.2.8 write disable (04h) ............................................................................................................... 24 7.2.9 read status register-1 (05h) and read status register-2 (35h) ........................................ 25 7.2.10 write status register (01h) ................................................................................................ 26 7.2.11 read data (03h) ................................................................................................................. 28 7.2.12 fast read (0bh) ................................................................................................................. 29 7.2.13 fast read dual output (3bh) ............................................................................................. 31 7.2.14 fast read quad output (6bh) ............................................................................................ 32 7.2.15 fast read dual i/o (bbh) ................................................................................................... 33 7.2.16 fast read quad i/o (ebh) ................................................................................................. 35 7.2.17 word read quad i/o (e7h) ................................................................................................ 38 7.2.18 octal word read quad i/o (e3h) ....................................................................................... 40 7.2.19 set burst with wrap (77h) .................................................................................................. 42 7.2.20 page program (02h) ........................................................................................................... 43 7.2.21 quad input page program (32h) ........................................................................................ 45 7.2.22 sector erase (20h) ............................................................................................................. 46 7.2.23 32kb block erase (52h) ..................................................................................................... 47 7.2.24 64kb block erase (d8h) ..................................................................................................... 48 7.2.25 chip erase (c7h / 60h) ....................................................................................................... 49 7.2.26 erase / program suspend (75h) ......................................................................................... 50 7.2.27 erase / program resume (7ah) ......................................................................................... 52 7.2.28 power-down (b9h) .............................................................................................................. 53 7.2.29 release power-down / device id (abh) ............................................................................. 54 7.2.30 read manufacturer / device id (90h) ................................................................................. 56 7.2.31 read manufacturer / device id dual i/o (92h) ................................................................... 57 7.2.32 read manufacturer / device id quad i/o (94h) ................................................................. 58 7.2.33 read unique id number (4bh) ........................................................................................... 59 7.2.34 read jedec id (9fh) ........................................................................................................ 60 7.2.35 erase security registers (44h) ........................................................................................... 61 7.2.36 program security registers (42h) ...................................................................................... 62 7.2.37 read security registers (48h) ........................................................................................... 63 7.2.38 set read parameters (c0h) ............................................................................................... 64 7.2.39 burst read with wrap (0ch) ............................................................................................... 65 7.2.40 enable qpi (38h) ................................................................................................................ 66
w25q16dw 7.2.41 disable qpi (ffh) ............................................................................................................... 67 - 4 - 7.2.42 enable reset (66h) and reset (99h) .................................................................................. 68 8. electrical characteristics ............................................................................................... 69 8.1 absolute maximum ratings ................................................................................................ 69 8.2 operating ranges ............................................................................................................... 69 8.3 power-up power-down timing and requirements ............................................................ 70 8.4 dc electrical characteristics .............................................................................................. 71 8.5 ac measurement conditions .............................................................................................. 72 8.6 ac electrical characteristics .............................................................................................. 73 8.7 ac electrical characteristics (cont?d) ................................................................................. 74 8.8 serial output timing ........................................................................................................... 75 8.9 serial input timing .............................................................................................................. 75 8.10 hold timing ...................................................................................................................... 75 8.11 wp timing .......................................................................................................................... 75 9. package specification .......................................................................................................... 76 9.1 8-pin soic 150-mil (package code sn) ............................................................................ 76 9.2 8-pin soic 208-mil (package code ss) ............................................................................ 77 9.3 8-pad wson 6x5-mm (package code zp) ....................................................................... 78 9.4 8-ball wlbga (package code by) .................................................................................... 80 9.5 8-pad uson 4x3-mm (package code uu) ....................................................................... 81 9.6 16-pin soic 300-mil (package code sf) .......................................................................... 82 10. ordering information .......................................................................................................... 83 10.1 valid part numbers and top side marking ........................................................................ 84 11. revision history ...................................................................................................................... 85
w25q16dw publication release date: september 06, 2012 - 5 - revision f 1. general description the w25q16dw (16m-bit) serial flash memory provides a storage solution for systems with limited space, pins and power. the 25q series offers flexibility and performance well beyond ordinary serial flash devices. they are ideal for code shadowing to ram, executing code directly from dual/quad spi (xip) and storing voice, text and data. the device operates on a single 1.65v to 1.95v power supply with current consumption as low as 4ma active and 1a for power-down. all devices are offered in space-saving packages. the w25q16dw array is organized into 8,192 programmable pages of 256-bytes each. up to 256 bytes can be programmed at a time. pages can be erased in groups of 16 (4kb sector erase), groups of 128 (32kb block erase), groups of 256 (64kb block erase) or the entire chip (chip erase). the w25q16dw has 512 erasable sectors and 32 erasable blocks respectively. the small 4kb sectors allow for greater flexibility in applications that require data and parameter storage. (see figure 2.) the w25q16dw support the standard serial peripheral interface (spi), dual/quad i/o spi as well as 2- clocks instruction cycle quad peripheral interface (qpi): serial clock, chip select, serial data i/o0 (di), i/o1 (do), i/o2 (/wp), and i/o3 (/hold). spi clock frequencies of up to 104mhz are supported allowing equivalent clock rates of 208mhz (104mhz x 2) for dual i/o and 416mhz (104mhz x 4) for quad i/o when using the fast read dual/quad i/o and qpi instructions. these transfer rates can outperform standard asynchronous 8 and 16-bit parallel flash memories. the continuous read mode allows for efficient memory access with as few as 8-clocks of instruction-overhead to read a 24-bit address, allowing true xip (execute in place) operation. a hold pin, write protect pin and programmable write protection, with top or bottom array control, provide further control flexibility. additionally, the device supports jedec standard manufacturer and device identification, a 64-bit unique serial nu mber and four 256-bytes security registers. 2. features ? family of spiflash memories ? w25q16dw: 16m-bit / 2m-byte (2,097,152) ? standard spi: clk, /cs, di, do, /wp, /hold ? dual spi: clk, /cs, io 0 , io 1 , /wp, /hold ? quad spi: clk, /cs, io 0 , io 1 , io 2 , io 3 ? qpi: clk, /cs, io 0 , io 1 , io 2 , io 3 ? highest performance serial flash ? 104mhz standard/dual/quad spi clocks ? 208/416mhz equivalent dual/quad spi ? 50mb/s continuous data transfer rate ? more than 100,000 erase/program cycles ? more than 20-year data retention ? efficient ?continuous read? and qpi mode ? continuous read with 8/16/32/64-byte wrap ? as few as 8 clocks to address memory ? quad peripheral interface (qpi) reduces instruction overhead ? allows true xip (execute in place) operation ? outperforms x16 parallel flash ? low power, wide temperature range ? single 1.65 to 1.95v supply ? 4ma active current, <1a power-down (typ.) ? -40c to +85c operating range ? flexible architecture with 4kb sectors ? uniform sector erase (4k-bytes) ? uniform block erase (32k and 64k-bytes) ? program 1 to 256 byte per programmable page ? erase/program suspend & resume ? advanced security features ? software and hardware write-protect ? top/bottom, 4kb complement array protection ? power supply lock-down and otp protection ? 64-bit unique id for each device ? 4x256-bytes security registers with otp locks ? volatile & non-volatile status register bits ? space efficient packaging ? 8-pin soic 150/208-mil ? 8-pad wson 6x5-mm, uson 4x3-mm ? 8-ball wlbga ? 16-pin soic 300-mil ? contact winbond for kgd and other options
w25q16dw - 6 - 3. package types and pin configurations 3.1 pin configuration soic 150 / 208-mil 1 2 3 4 8 7 6 5 /cs do (io 1 ) /wp (io 2 ) gnd vcc /hold (io 3 ) di (io 0 ) clk top view figure 1a. w25q16dw pin assignments, 8-pin soic 150 / 208-mil (package code sn & ss) 3.2 pad configuration wson 6x5-mm, uson 4x3-mm 1 2 3 4 /cs do (io 1 ) /wp (io 2 ) gnd vcc /hold (io 3 ) di (io 0 ) clk top view 8 7 6 5 figure 1b. w25q16dw pad assignments, 8-pad wson 6x5-mm, uson 4x3-mm (package code zp & uu) 3.3 pin description soic 150 / 208-mil, wson 6x5-mm, uson 4x3-mm pin no. pin name i/o function 1 /cs i chip select input 2 do (io1) i/o data output (data input output 1)* 1 3 /wp (io2) i/o write protect input ( data input output 2)* 2 4 gnd ground 5 di (io0) i/o data input (data input output 0)* 1 6 clk i serial clock input 7 /hold (io3) i/o hold input (data input output 3)* 2 8 vcc power supply *1 io0 and io1 are used for standard and dual spi instructions *2 io0 ? io3 are used for quad spi/qpi instructions
w25q16dw publication release date: september 06, 2012 - 7 - revision f 3.4 ball configuration wlbga figure 1c. w25q16dw ball assignments, 8-ball wlbga (package code by) 3.5 ball description wlbga ball no. pin name i/o function a1 vcc power supply a2 /cs i chip select input b1 /hold (io3) i/o hold input (data input output 3)* 2 b2 do (io1) i/o data output (data input output 1)* 1 c1 clk i serial clock input c2 /wp (io2) i/o write protect input (data input output 2)* 2 d1 di (io0) i/o data input (data input output 0)* 1 d2 gnd ground *1 io0 and io1 are used for standard and dual spi instructions *2 io0 ? io3 are used for quad spi instructions
w25q16dw - 8 - 3.6 pin configuration soic16 300-mil 1 2 3 4 /cs do (io 1 )/ 2 ) gnd vcc /hold (io 3 ) di (io 0 ) clk top view nc nc nc nc nc nc nc nc 5 6 7 8 10 9 11 12 13 14 15 16 w p ( i o figure 1d. w25q16dw pin assignments, 16-pin soic 300-mil (package code sf) 3.7 pin description soic16 300-mil pin no. pin name i/o function 1 /hold (io3) i/o hold input (data input output 3)* 2 2 vcc power supply 3 n/c no connect 4 n/c no connect 5 n/c no connect 6 n/c no connect 7 /cs i chip select input 8 do (io1) i/o data output (data input output 1)* 1 9 /wp (io2) i/o write protect input (data input output 2)* 2 10 gnd ground 11 n/c no connect 12 n/c no connect 13 n/c no connect 14 n/c no connect 15 di (io0) i/o data input (data input output 0)* 1 16 clk i serial clock input *1 io0 and io1 are used for standard and dual spi instructions *2 io0 ? io3 are used for quad spi instructions
w25q16dw publication release date: september 06, 2012 - 9 - revision f 4. pin descriptions 4.1 chip select (/cs) the spi chip select (/cs) pin enables and disables device operation. when /cs is high, the device is deselected and the serial data output (do, or io0, io1, io2, io3) pins are at high impedance. when deselected, the devices power consumption will be at standby levels unless an internal erase, program or write status register cycle is in progress. when /cs is brought low, the device will be selected, power consumption will increase to active levels and instructions can be written to and data read from the device. after power-up, /cs must transition from high to low before a new instruction will be accepted. the /cs input must track the vcc supply level at power-up and power-down (see ?write protection? and figure 43). if needed a pull-up resister on /cs can be used to accomplish this. 4.2 serial data input, output and ios (di, do and io0, io1, io2, io3) the w25q16dw supports standard spi, dual spi, quad spi and qpi operation. standard spi instructions use the unidirectional di (input) pin to serially write instructions, addresses or data to the device on the rising edge of the serial clock (clk) input pin. standard spi also uses the unidirectional do (output) to read data or status from the device on the falling edge of clk. dual/quad spi and qpi instructions use the bidirectional io pins to serially write instructions, addresses or data to the device on the rising edge of clk and read data or status from the device on the falling edge of clk. quad spi and qpi instructions require the non-volatile quad enable bit (qe) in status register-2 to be set. when qe=1, the /wp pin becomes io2 and /hold pin becomes io3. 4.3 write protect (/wp) the write protect (/wp) pin can be used to prevent the status registers from being written. used in conjunction with the status register?s block protect (cmp, sec, tb, bp2, bp1 and bp0) bits and status register protect (srp) bits, a portion as small as a 4kb sector or the entire memory array can be hardware protected. the /wp pin is active low. however, when the qe bit of status register-2 is set for quad i/o, the /wp pin function is not available since th is pin is used for io2. see figure 1a-1d for the pin configuration of quad i/o operation. 4.4 hold (/hold) the /hold pin allows the device to be paused while it is actively selected. when /hold is brought low, while /cs is low, the do pin will be at high impedance and signals on the di and clk pins will be ignored (don?t care). when /hold is brought high, device operation can resume. the /hold function can be useful when multiple devices are sharing the same spi signals. the /hold pin is active low. when the qe bit of status register-2 is set for quad i/o, the /hold pin function is not available since this pin is used for io3. see figure 1a-1d for the pin configuration of quad i/o operation. 4.5 serial clock (clk) the spi serial clock input (clk) pin provides the timing for serial input and output operations. ("see spi operations")
w25q16dw - 10 - 5. block diagram figure 2. w25q16dw serial flash memory block diagram 00ff00h 00ffffh ? block 0 (64kb) ? 000000h 0000ffh ? ? ? 7ff00h 7ffffh ? block 7 (64kb) ? 70000h 700ffh 8ff00h 8ffffh ? block 8 (64kb) ? 80000h 800ffh ? ? ? fff00h fffffh ? block 15 (64kb) ? f0000h f00ffh 10ff00h 10ffffh ? block 16 (64kb) ? 100000h 1000ffh ? ? ? 1fff00h 1fffffh ? block 31 (64kb) ? 1f0000h 1f00ffh 003000h 0030ffh 002000h 0020ffh 001000h 0010ffh 000000h 0000ffh column decode and 256-byte page buffer beginning page address ending page address w25q16dw spi command & control logic byte address latch / counter status register write control logic page address latch / counter do (io 1 ) di (io 0 ) /cs clk /hold (io 3 ) /wp (io 2 ) high voltage generators xx0f00h xx0fffh ? sector 0 (4kb) ? xx0000h xx00ffh xx1f00h xx1fffh ? sector 1 (4kb) ? xx1000h xx10ffh xx2f00h xx2fffh ? sector 2 (4kb) ? xx2000h xx20ffh ? ? ? xxdf00h xxdfffh ? sector 13 (4kb) ? xxd000h xxd0ffh xxef00h xxefffh ? sector 14 (4kb) ? xxe000h xxe0ffh xxff00h xxffffh ? sector 15 (4kb) ? xxf000h xxf0ffh block segmentation data security register 3 - 0 write protect logic and row decode 00ff00h 00ffffh ? block 0 (64kb) ? 000000h 0000ffh ? ? ? 7ff00h 7ffffh ? block 7 (64kb) ? 70000h 700ffh 8ff00h 8ffffh ? block 8 (64kb) ? 80000h 800ffh ? ? ? fff00h fffffh ? block 15 (64kb) ? f0000h f00ffh 10ff00h 10ffffh ? block 16 (64kb) ? 100000h 1000ffh ? ? ? 1fff00h 1fffffh ? block 31 (64kb) ? 1f0000h 1f00ffh 003000h 0030ffh 002000h 0020ffh 001000h 0010ffh 000000h 0000ffh column decode and 256-byte page buffer beginning page address ending page address w25q16dw spi command & control logic byte address latch / counter status register write control logic page address latch / counter do (io 1 ) di (io 0 ) /cs clk /hold (io 3 ) /wp (io 2 ) high voltage generators xx0f00h xx0fffh ? sector 0 (4kb) ? xx0000h xx00ffh xx1f00h xx1fffh ? sector 1 (4kb) ? xx1000h xx10ffh xx2f00h xx2fffh ? sector 2 (4kb) ? xx2000h xx20ffh ? ? ? xxdf00h xxdfffh ? sector 13 (4kb) ? xxd000h xxd0ffh xxef00h xxefffh ? sector 14 (4kb) ? xxe000h xxe0ffh xxff00h xxffffh ? sector 15 (4kb) ? xxf000h xxf0ffh block segmentation data security register 3 - 0 write protect logic and row decode
w25q16dw publication release date: september 06, 2012 - 11 - revision f 6. functional description 6.1 spi/qpi operations power on standard spi dual spi quad spi operations qpi operations device initialization enable qpi (38h) disable qpi (ffh) reset (66h + 99h) reset (66h + 99h) power on standard spi dual spi quad spi operations qpi operations device initialization enable qpi (38h) disable qpi (ffh) reset (66h + 99h) reset (66h + 99h) figure 3. w25q16dw serial flash memory operation diagram 6.1.1 standard spi instructions the w25q16dw is accessed through an spi compatible bus consisting of four signals: serial clock (clk), chip select (/cs), serial data input (di) and serial data output (do). standard spi instructions use the di input pin to serially write instructions, addresses or data to the device on the rising edge of clk. the do output pin is used to read data or status from the device on the falling edge of clk. spi bus operation mode 0 (0,0) and 3 (1,1) are supported. the primary difference between mode 0 and mode 3 concerns the normal state of the clk signal when the spi bus master is in standby and data is not being transferred to the serial flash. for mode 0, the clk signal is normally low on the falling and rising edges of /cs. for mode 3, the clk signal is normally high on the falling and rising edges of /cs. 6.1.2 dual spi instructions the w25q16dw supports dual spi operation when using instructions such as ?fast read dual output (3bh)? and ?fast read dual i/o (bbh)?. these instructions allow data to be transferred to or from the device at two to three times the rate of ordinary seri al flash devices. the dual spi read instructions are ideal for quickly downloading code to ram upon powe r-up (code-shadowing) or for executing non-speed- critical code directly from the spi bus (xip). when using dual spi instructions, the di and do pins become bidirectional i/o pins: io0 and io1.
w25q16dw - 12 - 6.1.3 quad spi instructions the w25q16dw supports quad spi operation when using instructions such as ?fast read quad output (6bh)?, ?fast read quad i/o (ebh)?, ?word read quad i/o (e7h)? and ?octal word read quad i/o (e3h)?. these instructions allow data to be transferred to or from the device four to six times the rate of ordinary serial flash. the quad read instructions offer a significant improvement in continuous and random access transfer rates allowing fast code-shadowing to ram or execution directly from the spi bus (xip). when using quad spi instructions the di and do pins become bidirectional io0 and io1, and the /wp and /hold pins become io2 and io3 respectively. quad spi instructions require the non-volatile quad enable bit (qe) in status register-2 to be set. 6.1.4 qpi instructions the w25q16dw supports quad peripheral interface (qpi) operations only when the device is switched from standard/dual/quad spi mode to qpi mode using the ?enable qpi (38h)? instruction. the typical spi protocol requires that the byte-long instruction code being shifted into the device only via di pin in eight serial clocks. the qpi mode utilizes all four io pi ns to input the instruction code, thus only two serial clocks are required. this can significantly reduce the spi instruction overhead and improve system performance in an xip environment. standard/dual/quad spi mode and qpi mode are exclusive. only one mode can be active at any given time. ?enable qpi (38h)? and ?disable qpi (ffh)? instructions are used to switch between these two modes. upon power-up or after a software reset using ?reset (99h)? instruction, the default state of the device is standard/dual/quad spi mode. to enable qpi mode, the non-volatile quad enable bit (qe) in status register-2 is required to be set. when using qpi instructions, the di and do pins become bidirectional io0 and io1, and the /wp and /hold pins become io2 and io3 respectively. see figure 3 for the device operation modes. 6.1.5 hold function for standard spi and dual spi operations, the /hold signal allows the w25q16dw operation to be paused while it is actively selected (when /cs is low). the /hold function may be useful in cases where the spi data and clock signals are shared with other devices. for example, consider if the page buffer was only partially written when a priority interrupt requires use of the spi bus. in this case the /hold function can save the state of the instruction and the data in the buffer so programming can resume where it left off once the bus is available again. the /h old function is only available for standard spi and dual spi operation, not during quad spi or qpi. to initiate a /hold condition, the device must be selected with /cs low. a /hold condition will activate on the falling edge of the /hold signal if the clk signal is already low. if the clk is not already low the /hold condition will activate after the next falling edge of clk. the /hold condition will terminate on the rising edge of the /hold signal if the clk signal is already low. if the clk is not already low the /hold condition will terminate after the next falling edge of clk. during a /hold condition, the serial data output (do) is high impedance, and serial data input (di) and serial clock (clk) are ignored. the chip select (/cs) signal should be kept active (low) for the full duration of the /hold operation to avoid resetting the internal logic state of the device.
w25q16dw publication release date: september 06, 2012 - 13 - revision f 6.2 write protection applications that use non-volatile memory must take into consideration the possibility of noise and other adverse system conditions that may compromise data integrity. to address this concern, the w25q16dw provides several means to protect the data from inadvertent writes. 6.2.1 write protect features ? device resets when vcc is below threshold ? time delay write disable after power-up ? write enable/disable instructions and automatic write disable after erase or program ? software and hardware (/wp pin) write protection using status register ? write protection using power-down instruction ? lock down write protection for status register until the next power-up ? one time program (otp) write protection for array and security registers using status register * * note: this feature is available upon special order. please contact winbond for details. upon power-up or at power-down, the w25q16dw will maintain a reset condition while vcc is below the threshold value of v wi , (see power-up timing and voltage levels and figure 43). while reset, all operations are disabled and no instructions are recognized. during power-up and after the vcc voltage exceeds v wi , all program and erase related instructions are further disabled for a time delay of t puw . this includes the write enable, page program, sector erase, block erase, chip erase and the write status register instructions. note that the chip select pin (/cs) must track the vcc supply level at power-up until the vcc-min level and t vsl time delay is reached, and it must also track the vcc supply level at power- down to prevent adverse command sequence. if needed a pull-up resister on /cs can be used to accomplish this. after power-up the device is automatically placed in a write-disabled state with the status register write enable latch (wel) set to a 0. a write enable instruction must be issued before a page program, sector erase, block erase, chip erase or write status register instruction will be accepted. after completing a program, erase or write instruction the write enable latch (wel) is automatically cleared to a write- disabled state of 0. software controlled write protection is facilitated usi ng the write status register instruction and setting the status register protect (srp0, srp1) and block protect (cmp, sec, tb, bp2, bp1 and bp0) bits. these settings allow a portion as small as a 4kb sector or the entire memory array to be configured as read only. used in conjunction with the write protect (/wp) pin, changes to the status register can be enabled or disabled under hardware control. see status register section for further information. additionally, the power-down instruction offers an extra level of write protection as all instructions are ignored except for the release power-down instruction.
w25q16dw - 14 - 7. status registers and instructions the read status register-1 and status register-2 instructions can be used to provide status on the availability of the flash memory array, if the device is write enabled or disabled, the state of write protection, quad spi setting, security register lock status and erase/program suspend status. the write status register instruction can be used to configure the device write protection features, quad spi setting and security register otp lock. write access to the status register is controlled by the state of the non- volatile status register protect bits (srp0, srp1), the write enable instruction, and during standard/dual spi operations, the /wp pin. 7.1 status registers 7.1.1 busy busy is a read only bit in the status register (s0) that is set to a 1 state when the device is executing a page program, quad page program, sector erase, block erase, chip erase, write status register or erase/program security register instruction. during this time the device will ignore further instructions except for the read status register and erase/program suspend instruction (see t w , t pp , t se , t be , and t ce in ac characteristics). when the program, erase or write status/security register instruction has completed, the busy bit will be cleared to a 0 state indicating the device is ready for further instructions. 7.1.2 write enable latch (wel) write enable latch (wel) is a read only bit in the status register (s1) that is set to 1 after executing a write enable instruction. the wel status bit is cleared to 0 when the device is write disabled. a write disable state occurs upon power-up or after any of the following instructions: write disable, page program, quad page program, sector erase, block erase, chip erase, write status register, erase security register and program security register. 7.1.3 block protect bits (bp2, bp1, bp0) the block protect bits (bp2, bp1, bp0) are non-volatile read/write bits in the status register (s4, s3, and s2) that provide write protection control and status. block protect bits can be set using the write status register instruction (see t w in ac characteristics). all, none or a portion of the memory array can be protected from program and erase instructions (see status register memory protection table). the factory default setting for the block protection bits is 0, none of the array protected. 7.1.4 top/bottom block protect (tb) the non-volatile top/bottom bit (tb) controls if the block protect bits (bp2, bp1, bp0) protect from the top (tb=0) or the bottom (tb=1) of the array as shown in the status register memory protection table. the factory default setting is tb=0. the tb bit can be set with the write status register instruction depending on the state of the srp0, srp1 and wel bits. 7.1.5 sector/block pr otect (sec) the non-volatile sector/block protect bit (sec) controls if the block protect bits (bp2, bp1, bp0) protect either 4kb sectors (sec=1) or 64kb blocks (sec=0) in the top (tb=0) or the bottom (tb=1) of the array as shown in the status register memory protection table. the default setting is sec=0. 7.1.6 complement protect (cmp) the complement protect bit (cmp) is a non-volatile read/write bit in the status register (s14). it is used in conjunction with sec, tb, bp2, bp1 and bp0 bits to provide more flexibility for the array protection. once cmp is set to 1, previous array protection set by sec, tb, bp2, bp1 and bp0 will be reversed. for instance, when cmp=0, a top 4kb sector can be protected while the rest of the array is not; when cmp=1,
w25q16dw publication release date: september 06, 2012 - 15 - revision f the top 4kb sector will become unprotected while the rest of the array become read-only. please refer to the status register memory protection table for details. the default setting is cmp=0. 7.1.7 status register pr otect (srp1, srp0) the status register protect bits (srp1 and srp0) are non-volatile read/write bits in the status register (s8 and s7). the srp bits control the method of write protection: software protection, hardware protection, power supply lock-down or one time programmable (otp) protection. srp1 srp0 /wp status register description 0 0 x software protection /wp pin has no control. the status register can be written to after a write enable instruction, wel=1. [factory default] 0 1 0 hardware protected when /wp pin is low the status register locked and can not be written to. 0 1 1 hardware unprotected when /wp pin is high the status register is unlocked and can be written to after a write enable instruction, wel=1. 1 0 x power supply lock-down status register is protected and can not be written to again until the next power-down, power-up cycle. (1) 1 1 x one time program (2) status register is permanently protected and can not be written to. note: 1. when srp1, srp0 = (1, 0), a power-down, power-up cycle will change srp1, srp0 to (0, 0) state. 2. this feature is available upon special order. please contact winbond for details. 7.1.8 erase/program suspe nd status (sus) the suspend status bit is a read only bit in the status register (s15) that is set to 1 after executing a erase/program suspend (75h) instruction. the sus status bit is cleared to 0 by erase/program resume (7ah) instruction as well as a power-down, power-up cycle. 7.1.9 security register lock bits (lb3, lb2, lb1, lb0) the security register lock bits (lb3, lb2, lb1, lb0) are non-volatile one time program (otp) bits in status register (s13, s12, s11, s10) that provide the write protect control and status to the security registers. the default state of lb3-0 is 0, security registers are unlocked. lb3-0 can be set to 1 individually using the write status register instru ction. lb3-0 are one time programmable (otp), once it?s set to 1, the corresponding 256-byte security register will become read-only permanently. 7.1.10 quad enable (qe) the quad enable (qe) bit is a non-volatile read/write bit in the status register (s9) that allows quad spi and qpi operation. when the qe bit is set to a 0 state (factory default), the /wp pin and /hold are enabled. when the qe bit is set to a 1, the quad io2 and io3 pins are enabled, and /wp and /hold functions are disabled. qe bit is required to be set to a 1 before issuing an ?enable qpi (38h)? to switch the device from standard/dual/quad spi to qpi, otherwise the command will be ignored. when the device is in qpi mode,
w25q16dw - 16 - qe bit will remain to be 1. a ?write status register? command in qpi mode cannot change qe bit from a ?1? to a ?0?. warning: if the /wp or /hold pins are tied directly to the power supply or ground during standard spi or dual spi operation, the qe bit should never be set to a 1. s7 s6 s5 s4 s3 s2 s1 s0 srp0 sec tb bp2 bp1 bp0 wel busy status register protect 0 (non-volatile) sector protect (non-volatile) top/bottom protect (non-volatile) block protect bits (non-volatile) write enable latch erase/write in progress s7 s6 s5 s4 s3 s2 s1 s0 srp0 sec tb bp2 bp1 bp0 wel busy status register protect 0 (non-volatile) sector protect (non-volatile) top/bottom protect (non-volatile) block protect bits (non-volatile) write enable latch erase/write in progress figure 4a. status register-1 s15 s14 s13 s12 s11 s10 s9 s8 sus cmp lb3 lb2 lb1 lb0 qe srp1 suspend status complement protect (non-volatile) security register lock bits (non-volatile otp) quad enable (non-volatile) status register protect 1 ( non-volatile ) s15 s14 s13 s12 s11 s10 s9 s8 sus cmp lb3 lb2 lb1 lb0 qe srp1 suspend status complement protect (non-volatile) security register lock bits (non-volatile otp) quad enable (non-volatile) status register protect 1 ) ( non-volatile figure 4b. status register-2
w25q16dw publication release date: september 06, 2012 - 17 - revision f 7 .1.11 w 25q16dw status register me mory protection (cmp = 0) status register (1) w25q16dw (16m-bit) memory protection (3) sec tb bp2 bp1 bp0 protected block(s) protected addresses protected density protected portion (2) x x 0 0 0 none no ne none none 0 0 0 0 1 31 1f0000h ? 1 fffffh 64kb upper 1/32 0 0 0 1 0 30 and 31 1e0000h ? 1fffffh 128kb upper 1/16 0 0 0 1 1 28 thru 31 1c0000h ? 1fffffh 256kb upper 1/8 0 0 1 0 0 24 thru 31 180000h ? 1fffffh 512kb upper 1/4 0 0 1 0 1 16 thru 31 100000h ? 1fffffh 1mb upper 1/2 0 1 0 0 1 0 000000h ? 00 ffffh 64kb lower 1/32 0 1 0 1 0 0 and 1 000000h ? 01ffffh 128kb lower 1/16 0 1 0 1 1 0 thru 3 000000h ? 03ffffh 256kb lower 1/8 0 1 1 0 0 0 thru 7 000000h ? 07ffffh 512kb lower 1/4 0 1 1 0 1 0 thru 15 000000h ? 0fffffh 1mb lower 1/2 x x 1 1 x 0 thru 31 000000h ? 1 fffffh 2mb all 1 0 0 0 1 31 1ff000h ? 1fffffh 4kb u ? 1/512 1 0 0 1 0 31 1fe000h ? 1fffffh 8kb u ? 1/256 1 0 0 1 1 31 1fc000h ? 1fffffh 16kb u ? 1/128 1 0 1 0 x 31 1f8000h ? 1fffffh 32kb u ? 1/64 1 1 0 0 1 0 000000h ? 000 fffh 4kb l ? 1/512 1 1 0 1 0 0 000000h ? 001 fffh 8kb l ? 1/256 1 1 0 1 1 0 000000h ? 003 fffh 16kb l ? 1/128 1 1 1 0 x 0 000000h ? 007fffh 32kb l ? 1/64 note: 1. x = don?t care 2. l = lower; u = upper 3. if any erase or program command specifies a memory region that contains protected data portion, this command will be ignored.
w25q16dw - 18 - 7 .1.12 w 25q16dw status register me mory protection (cmp = 1) status register (1) w25q16dw (16m-bit) memory protection (3) sec tb bp2 bp1 bp0 protected block(s) protected addresses protected density protected portion (2) x x 0 0 0 0 thru 31 000000h ? 1 fffffh all all 0 0 0 0 1 0 thru 30 000000h ? 1effffh 1,984kb lower 31/32 0 0 0 1 0 0 thru 29 000000h ? 1dffffh 1,920kb lower 15/16 0 0 0 1 1 0 thru 27 000000h ? 1bffffh 1,792kb lower 7/8 0 0 1 0 0 0 thru 23 000000h ? 17ffffh 1,536kb lower 3/4 0 0 1 0 1 0 thru 15 000000h ? 0fffffh 1mb lower 1/2 0 1 0 0 1 1 thru 31 010000h ? 1fffffh 1,984kb upper 31/32 0 1 0 1 0 2 and 31 020000h ? 1 fffffh 1,920kb upper 15/16 0 1 0 1 1 4 thru 31 040000h ? 1fffffh 1,792kb upper 7/8 0 1 1 0 0 8 thru 31 080000h ? 1fffffh 1,536kb upper 3/4 0 1 1 0 1 16 thru 31 100000h ? 1fffffh 1mb upper 1/2 x x 1 1 x none no ne none none 1 0 0 0 1 0 thru 31 000000h ? 1fefffh 2,044kb l ? 511/512 1 0 0 1 0 0 thru 31 000000h ? 1fdfffh 2,040kb l ? 255/256 1 0 0 1 1 0 thru 31 000000h ? 1fbfffh 2,032kb l ? 127/128 1 0 1 0 x 0 thru 31 000000h ? 1f7fffh 2,016kb l ? 63/64 1 1 0 0 1 0 thru 31 001000h ? 1fffffh 2,044kb u ? 511/512 1 1 0 1 0 0 thru 31 002000h ? 1fffffh 2,040kb u ? 255/256 1 1 0 1 1 0 thru 31 004000h ? 1fffffh 2,032kb u ? 127/128 1 1 1 0 x 0 thru 31 008000h ? 1fffffh 2,016kb u ? 63/64 note: 1. x = don?t care 2. l = lower; u = upper 3. if any erase or program command specifies a memory region that contains protected data portion, this command will be ignored.
w25q16dw publication release date: september 06, 2012 - 19 - revision f 7.2 instructions the standard/dual/quad spi instruction set of the w25q16dw consists of thirty six basic instructions that are fully controlled through the spi bus (see instruction set table1-3). instructions are initiated with the falling edge of chip select (/cs). the first byte of data clocked into the di input provides the instruction code. data on the di input is sampled on the rising edge of clock with most significant bit (msb) first. the qpi instruction set of the w25q16dw consists of twenty four basic instructions that are fully controlled through the spi bus (see instruction set table 4). instructions are initiated with the falling edge of chip select (/cs). the first byte of data clocked through io[3:0] pins provides the instruction code. data on all four io pins are sampled on the rising edge of clock with most significant bit (msb) first. all qpi instructions, addresses, data and dummy bytes are using all four io pins to transfer every byte of data with every two serial clocks (clk). instructions vary in length from a single byte to several bytes and may be followed by address bytes, data bytes, dummy bytes (don?t care), and in some cases, a combination. instructions are completed with the rising edge of edge /cs. clock relative timing diagrams for each instruction are included in figures 5 through 42. all read instructions can be completed after any clocked bit. however, all instructions that write, program or erase must complete on a byte boundary (/cs driven high after a full 8-bits have been clocked) otherwise the instruction will be ignored. this feature further protects the device from inadvertent writes. additionally, while the memory is being programmed or erased, or when the status register is being written, all instructions except for read status register will be ignored until the program or erase cycle has completed. 7.2.1 manufacturer and device identification manufacturer id (mf7 - mf0) winbond serial flash efh device id (id7 - id0) (id15 - id0) instruction abh, 90h, 92h, 94h 9fh w25q16dw 14h 6015h
w25q16dw - 20 - 7.2.2 instruction set table 1 (standard spi instructions) (1) instruction name byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 clock number (0 ? 7) (8 ? 15) (16 ? 23) (24 ? 31) (32 ? 39) (40 ? 47) write enable 06h volatile sr write enable 50h write disable 04h read status register-1 05h (s7-s0) (2) read status register-2 35h (s15-s8) (2) write status register 01h (s7-s0) (s15-s8) page program 02h a23-a16 a15-a8 a7-a0 d7-d0 d7-d0 (3) sector erase (4kb) 20h a23-a16 a15-a8 a7-a0 block erase (32kb) 52h a23-a16 a15-a8 a7-a0 block erase (64kb) d8h a23-a16 a15-a8 a7-a0 chip erase c7h/60h erase / program suspend 75h erase / program resume 7ah power-down b9h read data 03h a23-a16 a15-a8 a7-a0 (d7-d0) fast read 0bh a23-a16 a15-a8 a7-a0 dummy (d7-d0) release powerdown / id (4) abh dummy dummy dummy (id7-id0) (2) manufacturer/device id (4) 90h dummy dummy 00h (mf7-mf0) (id7-id0) jedec id (4) 9fh (mf7-mf0) manufacturer (id15-id8) memory type (id7-id0) capacity read unique id 4bh dummy dummy dummy dummy (uid63-uid0) erase security registers (5) 44h a23-a16 a15-a8 a7-a0 program security registers (5) 42h a23-a16 a15-a8 a7-a0 d7-d0 d7-d0 (3) read security registers (5) 48h a23-a16 a15-a8 a7-a0 dummy (d7-d0) enable qpi 38h enable reset 66h reset 99h
w25q16dw publication release date: september 06, 2012 - 21 - revision f 7.2.3 instruction set table 2 (dual spi instructions) instruction name byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 clock number (0 ? 7) (8 ? 15) (16 ? 23) (24 ? 31) (32 ? 39) (40 ? 47) fast read dual output 3bh a23-a16 a15-a8 a7-a0 dummy (d7-d0, ?) (7) fast read dual i/o bbh a23-a8 (6) a7-a0, m7-m0 (6) (d7-d0, ?) (7) manufacturer/device id by dual i/o (4) 92h a23-a8 (6) a7-a0, m7-m0 (6) (mf7-mf0, id7-id0) 7.2.4 instruction set table 3 (quad spi instructions) instruction name byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 clock number (0 ? 7) (8 ? 15) (16 ? 23) (24 ? 31) (32 ? 39) (40 ? 47) quad page program 32h a23-a16 a15-a8 a7-a0 d7-d0, ? (9) d7-d0, ? (3) fast read quad output 6bh a23-a16 a15-a8 a7-a0 dummy (d7-d0, ?) (9) fast read quad i/o ebh a23-a0, m7-m0 (8) (xxxx, d7-d0) (10) (d7-d0, ?) (9) word read quad i/o (12) e7h a23-a0, m7-m0 (8) (xx, d7-d0) (11) (d7-d0, ?) (9) octal word read quad i/o (13) e3h a23-a0, m7-m0 (8) (d7-d0, ?) (9) set burst with wrap 77h xxxxxx, w6-w4 (8) manufacture/device id by quad i/o (4) 94h a23-a0, m7-m0 (8) xxxx, (mf7-mf0, id7-id0) (mf7-mf0, id7-id0, ?)
w25q16dw - 22 - 7.2.5 instruction set table 4 (qpi instructions) (14) instruction name byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 clock number (0 , 1) (2 , 3) (4 , 5) (6 , 7) (8 , 9) (10 , 11) write enable 06h volatile sr write enable 50h write disable 04h read status register-1 05h (s7-s0) (2) read status register-2 35h (s15-s8) (2) write status register 01h (s7-s0) (s15-s8) page program 02h a23-a16 a15-a8 a7-a0 d7-d0 (9) d7-d0 (3) sector erase (4kb) 20h a23-a16 a15-a8 a7-a0 block erase (32kb) 52h a23-a16 a15-a8 a7-a0 block erase (64kb) d8h a23-a16 a15-a8 a7-a0 chip erase c7h/60h erase / program suspend 75h erase / program resume 7ah power-down b9h set read parameters c0h p7-p0 fast read 0bh a23-a16 a15-a8 a7-a0 dummy (15) (d7-d0) burst read with wrap (16) 0ch a23-a16 a15-a8 a7-a0 dummy (15) (d7-d0) fast read quad i/o ebh a23-a16 a15-a8 a7-a0 m7-m0 (15) (d7-d0) release powerdown / id (4) abh dummy dummy dummy (id7-id0) (2) manufacturer/device id (4) 90h dummy dummy 00h (mf7-mf0) (id7-id0) jedec id (4) 9fh (mf7-mf0) manufacturer (id15-id8) memory type (id7-id0) capacity disable qpi ffh enable reset 66h reset 99h
w25q16dw publication release date: september 06, 2012 - 23 - revision f notes: 1. data bytes are shifted with most significant bit firs t. byte fields with data in parenthesis ?( )? indicate data output from the device on either 1, 2 or 4 io pins. 2. the status register contents and device id will repeat continuously until /cs terminates the instruction. 3. at least one byte of data input is required fo r page program, quad page program and program security registers, up to 256 bytes of data input. if more than 256 bytes of data are sent to the device, the addressing will wrap to the beginning of the p age and overwrite previously sent data. 4. see manufacturer and device identification table for device id information. 5. security register address: security register 0: a 23-16 = 00h; a15-8 = 00h; a7-0 = byte address security register 1: a 23-16 = 00h; a15-8 = 10h; a7-0 = byte address security register 2: a 23-16 = 00h; a15-8 = 20h; a7-0 = byte address security register 3: a 23-16 = 00h; a15-8 = 30h; a7-0 = byte address please note that security register 0 is reserved by winbond for future use. it is recommended to use security registers 1- 3 before using register 0. 6. dual spi address input format: io0 = a22, a20, a18, a16, a14, a12, a10, a8 a6, a4, a2, a0, m6, m4, m2, m0 io1 = a23, a21, a19, a17, a15, a13, a11, a9 a7, a5, a3, a1, m7, m5, m3, m1 7. dual spi data output format: io0 = (d6, d4, d2, d0) io1 = (d7, d5, d3, d1) 8. quad spi address input format: set burst with wrap input format: io0 = a20, a16, a12, a8, a4, a0, m4, m0 io0 = x, x, x, x, x, x, w4, x io1 = a21, a17, a13, a9, a5, a1, m5, m1 io1 = x, x, x, x, x, x, w5, x io2 = a22, a18, a14, a10, a6, a2, m6, m2 io2 = x, x, x, x, x, x, w6, x io3 = a23, a19, a15, a11, a7, a3, m7, m3 io3 = x, x, x, x, x, x, x, x 9. quad spi data input/output format: io0 = (d4, d0, ?..) io1 = (d5, d1, ?..) io2 = (d6, d2, ?..) io3 = (d7, d3, ?..) 10. fast read quad i/o data output format: io0 = (x, x, x, x, d4, d0, d4, d0) io1 = (x, x, x, x, d5, d1, d5, d1) io2 = (x, x, x, x, d6, d2, d6, d2) io3 = (x, x, x, x, d7, d3, d7, d3) 11. word read quad i/o data output format: io0 = (x, x, d4, d0, d4, d0, d4, d0) io1 = (x, x, d5, d1, d5, d1, d5, d1) io2 = (x, x, d6, d2, d6, d2, d6, d2) io3 = (x, x, d7, d3, d7, d3, d7, d3) 12. for word read quad i/o, the lowest address bit must be 0. (a0 = 0) 13. for octal word read quad i/o, the lowest four address bits must be 0. (a3, a2, a1, a0 = 0) 14. qpi command, address, data input/output format: clk # 0 1 2 3 4 5 6 7 8 9 10 11 io0 = c4, c0, a20, a16, a12, a8, a4, a0, d4, d0, d4, d0 io1 = c5, c1, a21, a17, a13, a9, a5, a1, d5, d1, d5, d1 io2 = c6, c2, a22, a18, a14, a10, a6, a2, d6, d2, d6, d2 io3 = c7, c3, a23, a19, a15, a11, a7, a3, d7, d3, d7, d3 15. the number of dummy clocks for qpi fast read, qpi fast read quad i/o & qpi burst read with wrap is controlled by read parameter p7 ? p4. 16. the wrap around length for qpi burst read with wrap is controlled by read parameter p3 ? p0.
w25q16dw - 24 - do (io 1 ) 7.2.6 write enable (06h) the write enable instruction (figure 5) sets the write enable latch (wel) bit in the status register to a 1. the wel bit must be set prior to every page program, quad page program, sector erase, block erase, chip erase, write status register and erase/program security registers instruction. the write enable instruction is entered by driving /cs low, shifting the instruction code ?06h? into the data input (di) pin on the rising edge of clk, and then driving /cs high. /cs clk di (io 0 ) mode 0 mode 3 0 1 2 3 4 5 6 7 mode 0 mode 3 instruction (06h) high impedance /cs clk mode 0 mode 3 0 1 mode 0 mode 3 io 0 io 1 io 2 io 3 06h instruction figure 5. write enable instruction for spi mode (left) or qpi mode (right) 7.2.7 write enable for volatile status register (50h) the non-volatile status register bits described in secti on 10.1 can also be written to as volatile bits. this gives more flexibility to change the system configuration and memory protection schemes quickly without waiting for the typical non-volatile bit write cycles or affecting the endurance of the status register non- volatile bits. to write the volatile values into the st atus register bits, the write enable for volatile status register (50h) instruction must be issued prior to a write status register (01h) instruction. write enable for volatile status register instruction (figure 6) will not set the write enable latch (wel) bit, it is only valid for the write status register instruction to change the volatile status register bit values. /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 mode 0 mode 3 instruction (50h) high impedance /cs clk mode 0 mode 3 0 1 mode 0 mode 3 io 0 io 1 io 2 io 3 50h instruction figure 6. write enable for volatile status register instruction for spi mode (left) or qpi mode (right) 7.2.8 write disable (04h) the write disable instruction (figure 7) resets the wr ite enable latch (wel) bit in the status register to a 0. the write disable instruction is entered by driving /cs low, shifting the instruction code ?04h? into the
w25q16dw publication release date: september 06, 2012 - 25 - revision f do (io 1 ) di pin and then driving /cs high. note that the wel bit is automatically reset after power-up and upon completion of the write status register, erase/program security registers, page program, quad page program, sector erase, block erase, chip erase and reset instructions. /cs clk di (io 0 ) mode 0 mode 3 0 1 2 3 4 5 6 7 mode 0 mode 3 instruction (04h) high impedance /cs clk mode 0 mode 3 0 1 mode 0 mode 3 io 0 io 1 io 2 io 3 04h instruction figure 7. write disable instruction for spi mode (left) or qpi mode (right) 7.2.9 read status register-1 (05h) a nd read status register-2 (35h) the read status register instructions allow the 8-bit status registers to be read. the instruction is entered by driving /cs low and shifting the instruction code ?05h? for status register-1 or ?35h? for status register-2 into the di pin on the rising edge of clk. the status register bits are then shifted out on the do pin at the falling edge of clk with most significant bit (msb) first as shown in figure 8. the status register bits are shown in figure 4a and 4b and include the busy, wel, bp2-bp0, tb, sec, srp0, srp1, qe, lb3-0, cmp and sus bits (see status register section earlier in this datasheet). the read status register instruction may be used at any time, even while a program, erase or write status register cycle is in progress. this allows the busy status bit to be checked to determine when the cycle is complete and if the device can accept another instruction. the status register can be read continuously, as shown in figure 8. the instruction is completed by driving /cs high. /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (05h or 35h) high impedance 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 status register 1 or 2 out status register 1 or 2 out ** = msb * figure 8a. read status register instruction (spi mode)
w25q16dw - 26 - /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 05h or 35h 2 3 4 5 4 0 4 0 5 1 6 2 7 3 5 1 6 2 7 3 4 5 6 7 sr1 or sr2 out sr1 or sr2 out instruction figure 8b. read status register instruction (qpi mode) 7.2.10 write status register (01h) the write status register instruction allows the stat us register to be written. only non-volatile status register bits srp0, sec, tb, bp2, bp1, bp0 (bits 7 th ru 2 of status register-1) and cmp, lb3, lb2, lb1, lb0, qe, srp1 (bits 14 thru 8 of status regist er-2) can be written to. all other status register bit locations are read-only and will not be affected by the write status register instruction. lb3-0 are non- volatile otp bits, once it is set to 1, it can not be cleared to 0. the status register bits are shown in figure 4a and 4b, and described in 10.1. to write non-volatile status register bits, a standard write enable (06h) instruction must previously have been executed for the device to accept the write status register instruction (status register bit wel must equal 1). once write enabled, the instruction is entered by driving /cs low, sending the instruction code ?01h?, and then writing the status register data byte as illustrated in figure 9. to write volatile status register bits, a write enable for volatile status register (50h) instruction must have been executed prior to the write status register instruction (status register bit wel remains 0). however, srp1 and lb3, lb2, lb1, lb0 can not be changed from ?1? to ?0? because of the otp protection for these bits. upon power off or the execution of a ?reset (99h)? instruction, the volatile status register bit values will be lost, and the non-volatile status register bit values will be restored. to complete the write status register instruction, the /cs pin must be driven high after the eighth or sixteenth bit of data that is clocked in. if this is not done the write status register instruction will not be executed. if /cs is driven high after the eighth clock (compatible with the 25x series) the cmp, qe and srp1 bits will be cleared to 0. during non-volatile status register write operation (06h combined with 01h), after /cs is driven high, the self-timed write status register cycle will commence for a time duration of t w (see ac characteristics). while the write status register cycle is in progress, the read status register instruction may still be accessed to check the status of the busy bit. the busy bit is a 1 during the write status register cycle and a 0 when the cycle is finished and ready to accept other instructions again. after the write status register cycle has finished, the write enable latch (wel) bit in the status register will be cleared to 0.
w25q16dw publication release date: september 06, 2012 - 27 - revision f during volatile status register write operation (50h combined with 01h), after /cs is driven high, the status register bits will be refreshed to the new values within the time period of t shsl2 (see ac characteristics). busy bit will remain 0 during the status register bit refresh period. the write status register instruction can be used in both spi mode and qpi mode. however, the qe bit cannot be written to when the device is in the qpi mode, because qe=1 is required for the device to enter and operate in the qpi mode. please refer to 10.1 for detailed status register bit de scriptions. factory default for all status register bits are 0. /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (01h) high impedance 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 status register 1 in status register 2 in mode 0 mode 3 ** = msb * figure 9a. write status register instruction (spi mode) /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 01h 2 3 4 5 4 0 12 8 5 1 6 2 7 3 13 9 14 10 15 11 sr1 in sr2 in mode 0 mode 3 instruction figure 9b. write status register instruction (qpi mode)
w25q16dw - 28 - 7.2.11 read data (03h) the read data instruction allows one or more data bytes to be sequentially read from the memory. the instruction is initiated by driving the /cs pin low and then shifting the instruction code ?03h? followed by a 24-bit address (a23-a0) into the di pin. the code and address bits are latched on the rising edge of the clk pin. after the address is received, the data byte of the addressed memory location will be shifted out on the do pin at the falling edge of clk with most significant bit (msb) first. the address is automatically incremented to the next higher address after each byte of data is shifted out allowing for a continuous stream of data. this means that the entire memory can be accessed with a single instruction as long as the clock continues. the instruction is completed by driving /cs high. the read data instruction sequence is shown in figure 10. if a read data instruction is issued while an erase, program or write cycle is in process (busy=1) the instruction is ignored and will not have any effects on the current cycle. the read data instruction allows clock rates from d.c. to a maximum of f r (see ac electrical characteristics). the read data (03h) instruction is only supported in standard spi mode. /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (03h) high impedance 8 9 10 28 29 30 31 32 33 34 35 36 37 38 39 7 6 5 4 3 2 1 0 7 24-bit address 23 22 21 3 2 1 0 data out 1 * * = msb * figure 10. read data instruction (spi mode only)
w25q16dw publication release date: september 06, 2012 - 29 - revision f 7.2.12 fast read (0bh) the fast read instruction is similar to the read data instruction except that it can operate at the highest possible frequency of f r (see ac electrical characteristics). this is accomplished by adding eight ?dummy? clocks after the 24-bit address as shown in figure 11. the dummy clocks allow the devices internal circuits additional time for setting up the in itial address. during the dummy clocks the data value on the do pin is a ?don?t care?. /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (0bh) high impedance 8 9 10 28 29 30 31 24-bit address 23 22 21 3 2 1 0 data out 1 * /cs clk di (io 0 ) do (io ) 32 1 33 34 35 36 37 38 39 dummy clocks high impedance 40 41 42 44 45 46 47 48 49 50 51 52 53 54 55 7 6 5 4 3 2 1 0 7 data out 2 7 * 6 5 4 3 2 1 0 * 43 31 0 = msb * figure 11a. fast read instruction (spi mode)
w25q16dw - 30 - fast read (0bh) in qpi mode the fast read instruction is also supported in qpi mode. when qpi mode is enabled, the number of dummy clocks is configured by the ?set read parameters (c0h)? instruction to accommodate a wide range applications with different needs for either maximum fast read frequency or minimum data access latency. depending on the read parameter bits p[5:4] setting, the number of dummy clocks can be configured as either 2, 4, 6 or 8. the default number of dummy clocks upon power up or after a reset instruction is 2. /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 0bh 2 3 4 5 20 16 12 8 21 17 22 18 23 19 13 9 14 10 15 11 a23-16 6 7 8 9 4 0 5 1 6 2 7 3 a15-8 a7-0 dummy * byte 1 byte 2 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 10 11 12 13 4 5 6 7 ios switch from input to output * "set read parameters" instruction (c0h) can set the number of dummy clocks. instruction figure 11b. fast read instruction (qpi mode)
w25q16dw publication release date: september 06, 2012 - 31 - revision f 7.2.13 fast read dual output (3bh) the fast read dual output (3bh) instruction is similar to the standard fast read (0bh) instruction except that data is output on two pins; io 0 and io 1 . this allows data to be transferred from the w25q16dw at twice the rate of standard spi devices. the fast read dual output instruction is ideal for quickly downloading code from flash to ram upon power-up or for applications that cache code-segments to ram for execution. similar to the fast read instruction, the fast r ead dual output instruction can operate at the highest possible frequency of f r (see ac electrical characteristics). this is accomplished by adding eight ?dummy? clocks after the 24-bit address as shown in figure 12. the dummy clocks allow the device's internal circuits additional time for setting up the init ial address. the input data during the dummy clocks is ?don?t care?. however, the io 0 pin should be high-impedance prior to the falling edge of the first data out clock. /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (3bh) high impedance 8 9 10 28 29 30 32 33 34 35 36 37 38 39 6 4 2 0 24-bit address 23 22 21 3 2 1 0 * * 31 31 /cs clk di (io 0 ) do (io 1 ) dummy clocks 0 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 7 5 3 1 high impedance 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 io 0 switches from input to output 6 7 data out 1 * data out 2 * data out 3 * data out 4 = msb * figure 12. fast read dual output instruction (spi mode only)
w25q16dw - 32 - 7.2.14 fast read quad output (6bh) the fast read quad output (6bh) instruction is similar to the fast read dual output (3bh) instruction except that data is output on four pins, io 0 , io 1 , io 2 , and io 3 . a quad enable of status register-2 must be executed before the device will accept the fast read quad output instruction (status register bit qe must equal 1). the fast read quad output instruction allows data to be transferred from the w25q16dw at four times the rate of standard spi devices. the fast read quad output instruction can operate at the highest possible frequency of f r (see ac electrical characteristics). this is accomplished by adding eight ?dummy? clocks after the 24-bit address as shown in figure 13. the dummy clocks allow the dev ice's internal circuits additional time for setting up the initial address. the input data during the dummy clocks is ?don?t care?. however, the io pins should be high-impedance prior to the falling edge of the first data out clock. /cs clk mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (6bh) high impedance 8 9 10 28 29 30 32 33 34 35 36 37 38 39 4 0 24-bit address 23 22 21 3 2 1 0 * 31 31 /cs clk dummy clocks 0 40 41 42 43 44 45 46 47 5 1 high impedance 4 5 byte 1 high impedance high impedance 6 2 7 3 high impedance 6 7 high impedance 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 byte 2 byte 3 byte 4 io 0 switches from input to output io 0 io 1 io 2 io 3 io 0 io 1 io 2 io 3 = msb * figure 13. fast read quad output instruction (spi mode only)
w25q16dw publication release date: september 06, 2012 - 33 - revision f 7.2.15 fast read dual i/o (bbh) the fast read dual i/o (bbh) instruction allows for improved random access while maintaining two io pins, io 0 and io 1 . it is similar to the fast read dual output (3bh) instruction but with the capab ility to input the address bits (a23-0) two bits per clock. this reduced instruction overhead may allow for code execution (xip) directly from the dual spi in some applications. fast read dual i/o with ?continuous read mode? the fast read dual i/o instruction can further reduce instruction overhead through setting the ?continuous read mode? bits (m7-0) after the input address bits (a23-0), as shown in figure 14a. the upper nibble of the (m7-4) controls the length of the next fast read dual i/o instruction through the inclusion or exclusion of the first byte instruction c ode. the lower nibble bits of the (m3-0) are don?t care (?x?). however, the io pins should be high-impedance prior to the falling edge of the first data out clock. if the ?continuous read mode? bits m5-4 = (1,0), then the next fast read dual i/o instruction (after /cs is raised and then lowered) does not require the bbh instruction code, as shown in figure 14b. this r educes the instruction sequence by eight clocks and allows the read address to be immediately entered after /cs is asserted low. if the ?continuous read mode? bits m5-4 do not equal to (1,0), the next instruction (after /cs is raised and then lowered) requires the first byte instruction code, thus returning to normal operation. it is recommended to input ffffh on io0 for the next inst ruction (16 clocks), to ensure m4 = 1 and return the device to normal operation. /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (bbh) 8 9 10 12 13 14 24 25 26 27 28 29 30 31 6 4 2 0 * * 23 /cs clk di (io 0 ) do (io 1 ) 0 32 33 34 35 36 37 38 39 7 5 3 1 * 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 ** ios switch from input to output 6 7 22 20 18 16 23 21 19 17 14 12 10 8 15 13 11 9 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 11 15 16 17 18 20 21 22 19 23 1 a23-16 a15-8 a7-0 m7-0 byte 1 byte 2 byte 3 byte 4 = msb * * figure 14a. fast read dual i/o instruction (initial instruction or previous m5-4 10, spi mode only)
w25q16dw - 34 - /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 8 9 10 12 13 14 24 25 26 27 28 29 30 31 6 4 2 0 * * 15 /cs clk di (io 0 ) do (io 1 ) 0 7 5 3 1 * 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 ** ios switch from input to output 6 7 22 20 18 16 23 21 19 17 14 12 10 8 15 13 11 9 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 11 15 1 a23-16 a15-8 a7-0 m7-0 b y t e 1b y t e 2b y t e 3b y t e 4 01234567 16 17 18 20 21 22 19 23 * = msb * figure 14b. fast read dual i/o instruction (previous instruction set m5-4 = 10, spi mode only)
w25q16dw publication release date: september 06, 2012 - 35 - revision f 7.2.16 fast read quad i/o (ebh) the fast read quad i/o (ebh) instruction is similar to the fast read dual i/o (bbh) instruction except that address and data bits are input and output through four pins io 0 , io 1 , io 2 and io 3 and four dummy clocks are required in spi mode prior to the data output. the quad i/o dramatically reduces instruction overhead allowing faster random access for code execution (xip) directly from the quad spi. the quad enable bit (qe) of status register-2 must be se t to enable the fast read quad i/o instruction. fast read quad i/o with ?continuous read mode? the fast read quad i/o instruction can further reduce instruction overhead through setting the ?continuous read mode? bits (m7-0) after the input address bits (a23-0), as shown in figure 15a. the upper nibble of the (m7-4) controls the length of the next fast read quad i/o instruction through the inclusion or exclusion of the first byte instruction c ode. the lower nibble bits of the (m3-0) are don?t care (?x?). however, the io pins should be high-impedance prior to the falling edge of the first data out clock. if the ?continuous read mode? bits m5-4 = (1,0), then the next fast read quad i/o instruction (after /cs is raised and then lowered) does not require the ebh instruction code, as shown in figure 15b. this reduces the instruction sequence by eight clocks and allows the read address to be immediately entered after /cs is asserted low. if the ?continuous read mode? bits m5-4 do not equal to (1,0), the next instruction (after /cs is raised and then lowered) requires the first byte instruction code, thus returning to normal operation. it is recommended to input ffh on io0 for the next instruction (8 clocks), to ensure m4 = 1 and return the device to normal operation. m7-0 /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 2 io 3 3 4 5 20 16 12 8 21 17 22 18 figure 15a. fast read quad i/o instruction (initial instruction or previous m5-4 10, spi mode) 23 19 13 9 14 10 15 11 a23-16 6 7 8 9 4 0 5 1 6 2 7 3 a15-8 a7-0 4 byte 1 byte 2 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 10 11 12 13 14 4 5 6 7 ios switch from input to output byte 3 15 16 17 18 19 20 21 22 23 dummy dummy instruction (ebh)
w25q16dw - 36 - m7-0 /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 2 3 4 5 20 16 12 8 21 17 22 18 23 19 13 9 14 10 15 11 a23-16 6 7 8 9 4 0 5 1 6 2 7 3 a15-8 a7-0 byte 1 byte 2 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 10 11 12 13 14 4 5 6 7 ios switch from input to output byte 3 15 dummy dummy figure 15b. fast read quad i/o instruction (previous instruction set m5-4 = 10, spi mode) fast read quad i/o with ?8/16/32/64-byte wrap around? in standard spi mode the fast read quad i/o instruction can also be used to access a specific portion within a page by issuing a ?set burst with wrap? (77h) command prior to ebh. the ?set burst with wrap? (77h) command can either enable or disable the ?wrap around? feature for the following ebh commands. when ?wrap around? is enabled, the data being accessed can be limited to either a 8, 16, 32 or 64-byte section of a 256-byte page. the output data starts at the initial address specified in the instruction, once it reaches the ending boundary of the 8/16/32/64-byte section, the output will wrap around to the beginning boundary automatically until /cs is pulled high to terminate the command. the burst with wrap feature allows applications that use cache to quickly fetch a critical address and then fill the cache afterwards within a fixed length (8/16/32/64-byte) of data without issuing multiple read commands. the ?set burst with wrap? instruction allows three ?wrap bits?, w6-4 to be set. the w4 bit is used to enable or disable the ?wrap around? operation while w6-5 are used to specify the length of the wrap around section within a page. see 7.2.19 for detail descriptions.
w25q16dw publication release date: september 06, 2012 - 37 - revision f fast read quad i/o (ebh) in qpi mode the fast read quad i/o instruction is also supported in qpi mode, as shown in figure 15c. when qpi mode is enabled, the number of dummy clocks is configured by the ?set read parameters (c0h)? instruction to accommodate a wide range applications with different needs for either maximum fast read frequency or minimum data access latency. depending on the read parameter bits p[5:4] setting, the number of dummy clocks can be configured as either 2, 4, 6 or 8. the default number of dummy clocks upon power up or after a reset instruction is 2. in qpi mode, the ?continuous read mode? bits m7-0 are also considered as dummy clocks. in the default setting, the data output will follow the continuous read mode bits immediately. ?continuous read mode? feature is also available in qpi mode for fast read quad i/o instruction. please refer to the description on previous pages. ?wrap around? feature is not available in qpi mode for fast read quad i/o instruction. to perform a read operation with fixed data length wrap around in qpi mode, a dedicated ?burst read with wrap? (0ch) instruction must be used. please refer to 7.2.39 for details. m7-0 * /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 ebh 2 3 4 5 20 16 12 8 21 17 22 18 23 19 13 9 14 10 15 11 a23-16 6 7 8 9 4 0 5 1 6 2 7 3 a15-8 a7-0 byte 1 byte 2 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 10 11 12 13 14 4 5 6 7 ios switch from input to output * "set read parameters" instruction (c0h) can set the number of dummy clocks. byte 3 instruction figure 15c. fast read quad i/o instruction (initial instruction or previous m5-4 10, qpi mode)
w25q16dw - 38 - 7.2.17 word read quad i/o (e7h) the word read quad i/o (e7h) instruction is similar to the fast read quad i/o (ebh) instruction except that the lowest address bit (a0) must equal 0 and only two dummy clock are required prior to the data output. the quad i/o dramatically reduces instruction overhead allowing faster random access for code execution (xip) directly from the quad spi. the quad e nable bit (qe) of status register-2 must be set to enable the word read quad i/o instruction. word read quad i/o with ?continuous read mode? the word read quad i/o instruction can further reduce instruction overhead through setting the ?continuous read mode? bits (m7-0) after the input address bits (a23-0), as shown in figure 16a. the upper nibble of the (m7-4) controls the length of the next fast read quad i/o instruction through the inclusion or exclusion of the first byte instruction c ode. the lower nibble bits of the (m3-0) are don?t care (?x?). however, the io pins should be high-impedance prior to the falling edge of the first data out clock. if the ?continuous read mode? bits m5-4 = (1,0), then the next fast read quad i/o instruction (after /cs is raised and then lowered) does not require the e7h instruction code, as shown in figure 16b. this reduces the instruction sequence by eight clocks and allows the read address to be immediately entered after /cs is asserted low. if the ?continuous read mode? bits m5-4 do not equal to (1,0), the next instruction (after /cs is raised and then lowered) requires the first byte instruction code, thus returning to normal operation. it is recommended to input ffh on io0 for the next instruction (8 clocks), to ensure m4 = 1 and return the device to normal operation. m7-0 /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 2 3 4 5 20 16 12 8 21 17 22 18 23 19 13 9 14 10 15 11 a23-16 6 7 8 9 4 0 5 1 6 2 7 3 a15-8 a7-0 4 byte 1 byte 2 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 10 11 12 13 14 4 5 6 7 ios switch from input to output byte 3 15 16 17 18 19 20 21 dummy instruction (e7h) figure 16a. word read quad i/o instruction (initial instruction or previous m5-4 10, spi mode only)
w25q16dw publication release date: september 06, 2012 - 39 - revision f m7-0 /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 2 3 4 5 20 16 12 8 21 17 22 18 23 19 13 9 14 10 15 11 a23-16 6 7 4 0 5 1 6 2 7 3 a15-8 a7-0 4 0 5 1 6 2 7 3 byte 1 byte 2 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 5 6 7 ios switch from input to output byte 3 8 9 10 11 12 13 dummy figure 16b. word read quad i/o instruction (previous instruction set m5-4 = 10, spi mode only) word read quad i/o with ?8/16/32/64-byte wrap around? in standard spi mode the word read quad i/o instruction can also be used to access a specific portion within a page by issuing a ?set burst with wrap? (77h) command prior to e7h. the ?set burst with wrap? (77h) command can either enable or disable the ?wrap around? feature for the following e7h commands. when ?wrap around? is enabled, the data being accessed can be limited to either a 8, 16, 32 or 64-byte section of a 256-byte page. the output data starts at the initial address specified in the instruction, once it reaches the ending boundary of the 8/16/32/64-byte section, the output will wrap around to the beginning boundary automatically until /cs is pulled high to terminate the command. the burst with wrap feature allows applications that use cache to quickly fetch a critical address and then fill the cache afterwards within a fixed length (8/16/32/64-byte) of data without issuing multiple read commands. the ?set burst with wrap? instruction allows three ?wrap bits?, w6-4 to be set. the w4 bit is used to enable or disable the ?wrap around? operation while w6-5 are used to specify the length of the wrap around section within a page. see 7.2.19 for detail descriptions.
w25q16dw - 40 - 7.2.18 octal word read quad i/o (e3h) the octal word read quad i/o (e3h) instruction is similar to the fast read quad i/o (ebh) instruction except that the lower four address bits (a0, a1, a2, a3) must equal 0. as a result, the dummy clocks are not required, which further reduces the instruction overhead allowing even faster random access for code execution (xip). the quad enable bit (qe) of status register-2 must be set to enable the octal word read quad i/o instruction. octal word read quad i/o with ?continuous read mode? the octal word read quad i/o instruction can further reduce instruction overhead through setting the ?continuous read mode? bits (m7-0) after the input address bits (a23-0), as shown in figure 17a. the upper nibble of the (m7-4) controls the length of the next octal word read quad i/o instruction through the inclusion or exclusion of the first byte instruct ion code. the lower nibble bits of the (m3-0) are don?t care (?x?). however, the io pins should be high-impedance prior to the falling edge of the first data out clock. if the ?continuous read mode? bits m5-4 = (1,0), then the next fast read quad i/o instruction (after /cs is raised and then lowered) does not require the e3h instruction code, as shown in figure 17b. this reduces the instruction sequence by eight clocks and allows the read address to be immediately entered after /cs is asserted low. if the ?continuous read mode? bits m5-4 do not equal to (1,0), the next instruction (after /cs is raised and then lowered) requires the first byte instruction code, thus returning to normal operation. it is recommended to input ffh on io0 for the next instruction (8 clocks), to ensure m4 = 1 and return the device to normal operation. m7-0 /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 2 3 4 5 20 16 12 8 21 17 22 18 23 19 13 9 14 10 15 11 a23-16 6 7 8 9 4 0 5 1 6 2 7 3 a15-8 a7-0 4 byte 1 byte 2 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 10 11 12 13 14 4 5 6 7 ios switch from input to output byte 3 15 16 17 18 19 20 21 instruction (e3h) 4 0 5 1 6 2 7 3 byte 4 figure 17a. octal word read quad i/o instruction (initial instruction or previous m5-4 10, spi mode only)
w25q16dw publication release date: september 06, 2012 - 41 - revision f m7-0 /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 2 3 4 5 20 16 12 8 21 17 22 18 23 19 13 9 14 10 15 11 a23-16 6 7 4 0 5 1 6 2 7 3 a15-8 a7-0 4 0 5 1 6 2 7 3 byte 1 byte 2 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 5 6 7 ios switch from input to output byte 3 8 9 10 11 12 13 4 0 5 1 6 2 7 3 byte 4 figure 17b. octal word read quad i/o instruction (previous instruction set m5-4 = 10, spi mode only)
w25q16dw - 42 - 7.2.19 set burst with wrap (77h) in standard spi mode, the set burst with wrap (77h) instruction is used in conjunction with ?fast read quad i/o? and ?word read quad i/o? instructions to access a fixed length of 8/16/32/64-byte section within a 256-byte page. certain applications can benefit from this feature and improve the overall system code execution performance. similar to a quad i/o instruction, the set burst with wrap instruction is initiated by driving the /cs pin low and then shifting the instruction code ?77h? followed by 24 dummy bits and 8 ?wrap bits?, w7-0. the instruction sequence is shown in figure 18. wrap bit w7 and the lower nibble w3-0 are not used. w6, w5 w4 = 0 w4 =1 (default) wrap around wrap length wrap around wrap length 0 0 yes 8-byte no n/a 0 1 yes 16-byte no n/a 1 0 yes 32-byte no n/a 1 1 yes 64-byte no n/a once w6-4 is set by a set burst with wrap instruction, all the following ?fast read quad i/o? and ?word read quad i/o? instructions will use the w6-4 setting to access the 8/16/32/64-byte section within any page. to exit the ?wrap around? function and return to normal read operation, another set burst with wrap instruction should be issued to set w4 = 1. the default value of w4 upon power on is 1. in the case of a system reset while w4 = 0, it is recommended that the controller issues a set burst with wrap instruction to reset w4 = 1 prior to any normal read instructions since w25q16dw does not have a hardware reset pin. in qpi mode, the ?burst read with wrap (0ch)? instruction should be used to perform the read operation with ?wrap around? feature. the wrap length set by w5-4 in standard spi mode is still valid in qpi mode and can also be re-configured by ?set read parameters (c0h)? instruction. refer to 7.2.38 and 7.2.39 for details. wrap bit /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 2 3 4 5 x x x x x x x x don't care 6 7 8 9 don't care don't care 10 11 12 13 14 15 instruction (77h) mode 0 mode 3 x x x x x x x x x x x x x x x x w4 x w5 x w6 x x x figure 18. set burst with wrap instruction (spi mode only)
w25q16dw publication release date: september 06, 2012 - 43 - revision f 7.2.20 page program (02h) the page program instruction allows from one byte to 256 bytes (a page) of data to be programmed at previously erased (ffh) memory locations. a write enable instruction must be executed before the device will accept the page program instruction (status register bit wel= 1). the instruction is initiated by driving the /cs pin low then shifting the instruction code ?02h? followed by a 24-bit address (a23-a0) and at least one data byte, into the di pin. the /cs pin must be held low for the entire length of the instruction while data is being sent to the device. the page program instruction sequence is shown in figure 19. if an entire 256 byte page is to be programmed, the last address byte (the 8 least significant address bits) should be set to 0. if the last address byte is not zero, and the number of clocks exceed the remaining page length, the addressing will wrap to the beginning of the page. in some cases, less than 256 bytes (a partial page) can be programmed without having any effect on other bytes within the same page. one condition to perform a partial page program is that the number of clocks can not exceed the remaining page length. if more than 256 bytes are sent to the device the addressing will wrap to the beginning of the page and overwrite previously sent data. as with the write and erase instructions, the /cs pin must be driven high after the eighth bit of the last byte has been latched. if this is not done the page program instruction will not be executed. after /cs is driven high, the self-timed page program instruction will commence for a time duration of tpp (see ac characteristics). while the page program cycle is in progress, the read status register instruction may still be accessed for checking the status of the busy bit. the busy bit is a 1 during the page program cycle and becomes a 0 when the cycle is finished and the device is ready to accept other instructions again. after the page program cycle has finished the write enable latch (wel) bit in the status register is cleared to 0. the page program instruction will not be executed if the addressed page is protected by the block protect (cmp, sec, tb, bp2, bp1, and bp0) bits. /cs clk di (io 0 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (02h) 8 9 10 28 29 30 39 24-bit address 23 22 21 3 2 1 * /cs clk di (io 0 ) 40 41 42 43 44 45 46 47 data byte 2 48 49 50 52 53 54 55 2072 7 6 5 4 3 2 1 0 51 39 0 31 0 32 33 34 35 36 37 38 data byte 1 7 6 5 4 3 2 1 * mode 0 mode 3 data byte 3 2073 2074 2075 2076 2077 2078 2079 0 data byte 256 * 7 6 5 4 3 2 1 0 * 7 6 5 4 3 2 1 0 * = msb * figure 19a. page program instruction (spi mode)
w25q16dw - 44 - /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 02h 3 instruction 2 3 4 5 20 16 12 8 21 17 22 18 23 19 13 9 14 10 15 11 a23-16 6 7 8 9 4 0 5 1 6 2 7 3 a15-8 a7-0 byte1 byte 2 byte 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 10 11 12 13 byte 255 byte 256 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 mode 0 mode 3 516 517 518 519 figure 19b. page program instruction (qpi mode)
w25q16dw publication release date: september 06, 2012 - 45 - revision f 7.2.21 quad input page program (32h) the quad page program instruction allows up to 256 bytes of data to be programmed at previously erased (ffh) memory locations using four pins: io 0 , io 1 , io 2 , and io 3 . the quad page program can improve performance for prom programmer and applications that have slow clock speeds <5mhz. systems with faster clock speed will not realize much benefit for the quad page program instruction since the inherent page program time is much greater than the time it take to clock-in the data. to use quad page program the quad enable in status register-2 must be set (qe=1). a write enable instruction must be executed before the device will accept the quad page program instruction (status register-1, wel=1). the instruction is initiated by driving the /cs pin low then shifting the instruction code ?32h? followed by a 24-bit address (a23-a0) and at least one data byte, into the io pins. the /cs pin must be held low for the entire length of the instruction while data is being sent to the device. all other functions of quad page program are identical to standard page program. the quad page program instruction sequence is shown in figure 20. /cs clk mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (32h) 8 9 10 28 29 30 32 33 34 35 36 37 4 0 24-bit address 23 22 21 3 2 1 0 * 31 31 /cs clk 5 1 byte 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 byte 2 byte 3 byte 256 0 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 536 537 538 539 540 541 542 543 mode 0 mode 3 byte 253 byte 254 byte 255 io 0 io 1 io 2 io 3 io 0 io 1 io 2 io 3 *** **** = msb * figure 20. quad input page program instruction (spi mode only)
w25q16dw - 46 - 7.2.22 sector erase (20h) the sector erase instruction sets all memory within a specified sector (4k-bytes) to the erased state of all 1s (ffh). a write enable instruction must be executed before the device will accept the sector erase instruction (status register bit wel must equal 1). the instruction is initiated by driving the /cs pin low and shifting the instruction code ?20h? followed a 24-bit sector address (a23-a0) (see figure 2). the sector erase instruction sequence is shown in figure 21a & 21b. the /cs pin must be driven high after the eighth bit of the last byte has been latched. if this is not done the sector erase instruction will not be executed. after /cs is driven high, the self-timed sector erase instruction will commence for a time duration of t se (see ac characteristics). while the sector erase cycle is in progress, the read status register instruction may still be accessed for checking the status of the busy bit. the busy bit is a 1 during the sector erase cycle and becomes a 0 when the cycle is finished and the device is ready to accept other instructions again. after the sector erase cycle has finished the write enable latch (wel) bit in the status register is cleared to 0. the sector erase instruction will not be executed if the addressed page is protected by the block protect (cmp, sec, tb, bp2, bp1, and bp0) bits (see status register memory protection table). /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (20h) high impedance 8 9 29 30 31 24-bit address 23 22 2 1 0 * mode 0 mode 3 = msb * figure 21a. sector erase instruction (spi mode) /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 20h instruction 2 3 4 5 20 16 12 8 21 17 22 18 23 19 13 9 14 10 15 11 a23-16 6 7 4 0 5 1 6 2 7 3 a15-8 a7-0 mode 0 mode 3 figure 21b. sector erase instruction (qpi mode)
w25q16dw publication release date: september 06, 2012 - 47 - revision f 7.2.23 32kb block erase (52h) the block erase instruction sets all memory within a specified block (32k-bytes) to the erased state of all 1s (ffh). a write enable instruction must be executed before the device will accept the block erase instruction (status register bit wel must equal 1). the instruction is initiated by driving the /cs pin low and shifting the instruction code ?52h? followed a 24-bit block address (a23-a0). the block erase instruction sequence is shown in figure 22a & 22b. the /cs pin must be driven high after the eighth bit of the last byte has been latched. if this is not done the block erase instruction will not be executed. after /cs is driven high, the self-timed block erase instruction will commence for a time duration of t be 1 (see ac characteristics). while the block erase cycle is in progress, the read status register instruction may still be accessed for checking the status of the busy bit. the busy bit is a 1 during the block erase cycle and becomes a 0 when the cycle is finished and the device is ready to accept other instructions again. after the block erase cycle has finished the write enable latch (wel) bit in the status register is cleared to 0. the block erase instruction will not be executed if the addressed page is protected by the block protect (cmp, sec, tb, bp2, bp1, and bp0) bits (see status register memory protection table). /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (52h) high impedance 8 9 29 30 31 24-bit address 23 22 2 1 0 * mode 0 mode 3 = msb * figure 22a. 32kb block erase instruction (spi mode) /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 52h instruction 2 3 4 5 20 16 12 8 21 17 22 18 23 19 13 9 14 10 15 11 a23-16 6 7 4 0 5 1 6 2 7 3 a15-8 a7-0 mode 0 mode 3 figure 22b. 32kb block erase instruction (qpi mode)
w25q16dw - 48 - 7.2.24 64kb block erase (d8h) the block erase instruction sets all memory within a specified block (64k-bytes) to the erased state of all 1s (ffh). a write enable instruction must be executed before the device will accept the block erase instruction (status register bit wel must equal 1). the instruction is initiated by driving the /cs pin low and shifting the instruction code ?d8h? followed a 24-bit block address (a23-a0). the block erase instruction sequence is shown in figure 23a & 23b. the /cs pin must be driven high after the eighth bit of the last byte has been latched. if this is not done the block erase instruction will not be executed. after /cs is driven high, the self-timed block erase instruction will commence for a time duration of t be (see ac characteristics). while the block erase cycle is in progress, the read status register instruction may still be accessed for checking the status of the busy bit. the busy bit is a 1 during the block erase cycle and becomes a 0 when the cycle is finished and the device is ready to accept other instructions again. after the block erase cycle has finished the write enable latch (wel) bit in the status register is cleared to 0. the block erase instruction will not be executed if the addressed page is protected by the block protect (cmp, sec, tb, bp2, bp1, and bp0) bits (see status register memory protection table). /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (d8h) high impedance 8 9 29 30 31 24-bit address 23 22 2 1 0 * mode 0 mode 3 = msb * figure 23a. 64kb block erase instruction (spi mode) /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 d8h instruction 2 3 4 5 20 16 12 8 21 17 22 18 23 19 13 9 14 10 15 11 a23-16 6 7 4 0 5 1 6 2 7 3 a15-8 a7-0 mode 0 mode 3 figure 23b. 64kb block erase instruction (qpi mode)
w25q16dw publication release date: september 06, 2012 - 49 - revision f do (io 1 ) 7.2.25 chip erase (c7h / 60h) the chip erase instruction sets all memory within the device to the erased state of all 1s (ffh). a write enable instruction must be executed before the device will accept the chip erase instruction (status register bit wel must equal 1). the instruction is initiated by driving the /cs pin low and shifting the instruction code ?c7h? or ?60h?. the chip erase instruction sequence is shown in figure 24. the /cs pin must be driven high after the eighth bit has been latched. if this is not done the chip erase instruction will not be executed. after /cs is driven high, the self-timed chip erase instruction will commence for a time duration of t ce (see ac characteristics). while the chip erase cycle is in progress, the read status register instruction may still be access ed to check the status of the busy bit. the busy bit is a 1 during the chip erase cycle and becomes a 0 when finished and the device is ready to accept other instructions again. after the chip erase cycle has finished the write enable latch (wel) bit in the status register is cleared to 0. the chip erase instruction will not be executed if any page is protected by the block protect (cmp, sec, tb, bp2, bp1, and bp0) bits (see status register memory protection table). /cs clk di (io 0 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (c7h/60h) high impedance mode 0 mode 3 /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 c7h/60h instruction mode 0 mode 3 figure 24. chip erase instruction for spi mode (left) or qpi mode (right)
w25q16dw - 50 - 7.2.26 erase / program suspend (75h) the erase/program suspend instruction ?75h?, allows the system to interrupt a sector or block erase operation or a page program operation and then read from or program/erase data to, any other sectors or blocks. the erase/program suspend instruction sequence is shown in figure 25a & 25b. the write status register instruction (01h) and erase instructions (20h, 52h, d8h, c7h, 60h, 44h) are not allowed during erase suspend. erase suspend is valid only during the sector or block erase operation. if written during the chip erase operation, the erase suspend instruction is ignored. the write status register instruction (01h) and program instructions (02h, 32h, 42h) are not allowed during program suspend. program suspend is valid only during the page program or quad page program operation. the erase/program suspend instruction ?75h? will be accepted by the device only if the sus bit in the status register equals to 0 and the busy bit equals to 1 while a sector or block erase or a page program operation is on-going. if the sus bit equals to 1 or the busy bit equals to 0, the suspend instruction will be ignored by the device. a maximum of time of ?t sus ? (see ac characteristics) is required to suspend the erase or program operation. the busy bit in the status register will be cleared from 1 to 0 within ?t sus ? and the sus bit in the status register will be set from 0 to 1 immediately after erase/program suspend. for a previously resumed erase/program operation, it is also required that the suspend instruction ?75h? is not issued earlier than a minimum of time of ?t sus ? following the preceding resume instruction ?7ah?. unexpected power off during the erase/program suspend state will reset the device and release the suspend state. sus bit in the status register will also reset to 0. the data within the page, sector or block that was being suspended may become corrupted. it is recommended for the user to implement system design techniques against the accidental power interruption and preserve data integrity during erase/program suspend state. /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (75h) high impedance mode 0 mode 3 tsus accept instructions figure 25a. erase/program suspend instruction (spi mode)
w25q16dw publication release date: september 06, 2012 - 51 - revision f /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 75h instruction mode 0 mode 3 tsus accept instructions figure 25b. erase/program suspend instruction (qpi mode)
w25q16dw - 52 - 7.2.27 erase / program resume (7ah) the erase/program resume instruction ?7ah? must be written to resume the sector or block erase operation or the page program operation after an erase/program suspend. the resume instruction ?7ah? will be accepted by the device only if the sus bit in the status register equals to 1 and the busy bit equals to 0. after issued the sus bit will be cleared from 1 to 0 immediately, the busy bit will be set from 0 to 1 within 200ns and the sector or block will complete the erase operation or the page will complete the program operation. if the sus bit equals to 0 or the busy bit equals to 1, the resume instruction ?7ah? will be ignored by the device. the erase/program resume instruction sequence is shown in figure 26a & 26b. resume instruction is ignored if the previous erase/program suspend operation was interrupted by unexpected power off. it is also required that a subsequent erase/program suspend instruction not to be issued within a minimum of time of ?t sus ? following a previous resume instruction. /cs clk di (io 0 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (7ah) mode 0 mode 3 resume previously suspended program or erase figure 26a. erase/program resume instruction (spi mode) /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 7ah instruction mode 0 mode 3 resume previously suspended program or erase figure 26b. erase/program resume instruction (qpi mode)
w25q16dw publication release date: september 06, 2012 - 53 - revision f 7.2.28 power-down (b9h) although the standby current during normal operation is relatively low, standby current can be further reduced with the power-down instruction. the lower power consumption makes the power-down instruction especially useful for battery powered applications (see icc1 and icc2 in ac characteristics). the instruction is initiated by driving the /cs pin low and shifting the instruction code ?b9h? as shown in figure 27a & 27b. the /cs pin must be driven high after the eighth bit has been latched. if this is not done the power-down instruction will not be executed. after /cs is driven high, the power-down state will entered within the time duration of t dp (see ac characteristics). while in the power-down state only the release from power- down / device id instruction, which restores the device to normal operation, will be recognized. all other instructions are ignored. this includes the read status register instruction, which is always available during normal operation. ignoring all but one instructi on makes the power down state a useful condition for securing maximum write protection. the device always powers-up in the normal operation with the standby current of icc1. /cs clk di (io 0 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (b9h) mode 0 mode 3 tdp power-down current stand-by current figure 27a. deep power-down instruction (spi mode) /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 b9h instruction mode 0 mode 3 tdp power-down current stand-by current figure 27b. deep power-down instruction (qpi mode)
w25q16dw - 54 - 7.2.29 release power-down / device id (abh) the release from power-down / device id instruction is a multi-purpose instruction. it can be used to release the device from the power-down state, or obtai n the devices electronic identification (id) number. to release the device from the power-down state, the instruction is issued by driving the /cs pin low, shifting the instruction code ?abh? and driving /cs high as shown in figure 28a & 28b. release from power-down will take the time duration of t res1 (see ac characteristics) before the device will resume normal operation and other instructions are accepted. the /cs pin must remain high during the t res1 time duration. when used only to obtain the device id while not in t he power-down state, the instruction is initiated by driving the /cs pin low and shifting the instruction code ?abh? followed by 3-dummy bytes. the device id bits are then shifted out on the falling edge of clk with most significant bit (msb) first as shown in figure 28. the device id values for the w25q16dw is listed in manufacturer and device identification table. the device id can be read continuously. the instruction is completed by driving /cs high. when used to release the device from the power-down state and obtain the device id, the instruction is the same as previously described, and shown in figure 28c & 28d, except that after /cs is driven high it must remain high for a time duration of t res2 (see ac characteristics). after this time duration the device will resume normal operation and other instructions will be accepted. if the release from power-down / device id instruction is issued while an erase, program or write cycle is in process (when busy equals 1) the instruction is ignored and will not have any effects on the current cycle. /cs clk di (io 0 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (abh) mode 0 mode 3 tres1 power-down current stand-by current figure 28a. release power-down instruction (spi mode)
w25q16dw publication release date: september 06, 2012 - 55 - revision f /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 abh instruction mode 0 mode 3 tres1 power-down current stand-by current figure 28b. release power-down instruction (qpi mode) tres2 /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (abh) high impedance 8 9 29 30 31 3 dummy bytes 23 22 2 1 0 * mode 0 mode 3 7 6 5 4 3 2 1 0 * 32 33 34 35 36 37 38 device id power-down current stand-by current = msb * figure 28c. release power-down / device id instruction (spi mode) power-down current stand-by current device id /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 abh 2 3 4 5 x x x x x x x x 6 7 8 4 0 5 1 6 2 7 3 ios switch from input to output instruction tres2 mode 0 mode 3 x x x x x x x x x x x x x x x x 3 dummy bytes figure 28d. release power-down / device id instruction (qpi mode)
w25q16dw - 56 - 7.2.30 read manufacturer / device id (90h) the read manufacturer/device id instruction is an alternative to the release from power-down / device id instruction that provides both the jedec assigned manufacturer id and the specific device id. the read manufacturer/device id instruction is very similar to the release from power-down / device id instruction. the instruction is initiated by driving the /cs pin low and shifting the instruction code ?90h? followed by a 24-bit address (a23-a0) of 000000h. after which, the manufacturer id for winbond (efh) and the device id are shifted out on the falling edge of clk with most significant bit (msb) first as shown in figure 29. the device id values for the w25q16d w is listed in manufacturer and device identification table. the instruction is completed by driving /cs high. /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (90h) high impedance 8 9 10 28 29 30 31 address (000000h) 23 22 21 3 2 1 0 device id * /cs clk di (io 0 ) do (io 1 ) 32 33 34 35 36 37 38 39 manufacturer id (efh) 40 41 42 44 45 46 7 6 5 4 3 2 1 0 * 43 31 0 mode 0 mode 3 = msb * figure 29. read manufacturer / device id instruction (spi mode)
w25q16dw publication release date: september 06, 2012 - 57 - revision f 7.2.31 read manufacturer / device id dual i/o (92h) the read manufacturer / device id dual i/o instruction is an alternative to the read manufacturer / device id instruction that provides both the jedec assigned manufacturer id and the specific device id at 2x speed. the read manufacturer / device id dual i/o instruction is similar to the fast read dual i/o instruction. the instruction is initiated by driving the /cs pin low and shifting the instruction code ?92h? followed by a 24-bit address (a23-a0) of 000000h, but with the capability to input the address bits two bits per clock. after which, the manufacturer id for winbond (efh) and the device id are shifted out 2 bits per clock on the falling edge of clk with most significant bits (msb) first as shown in figure 30. the device id values for the w25q16dw is listed in manufacturer and device i dentification table. if the 24-bit address is initially set to 000001h the device id will be read first and then followed by the manufacturer id. the manufacturer and device ids can be read continuously, alternating from one to the other. the instruction is completed by driving /cs high. /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (92h) high impedance 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 7 5 3 1 ** 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 6 4 2 0 23 ** a23-16 a15-8 a7-0 (00h) m7-0 /cs clk di (io 0 ) do (io 1 ) 24 25 26 27 28 29 30 31 32 33 34 36 37 38 35 23 0 mode 0 mode 3 7 5 3 1 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 6 4 2 1 0 1 mfr id device id mfr id (repeat) device id ios switch from input to output (repeat) ** ** = msb * figure 30. read manufacturer / device id dual i/o instruction (spi mode only) note: the ?continuous read mode? bits m(7-0) must be set to fxh to be compatible with fast read dual i/o instruction.
w25q16dw - 58 - 7.2.32 read manufacturer / device id quad i/o (94h) the read manufacturer / device id quad i/o instruction is an alternative to the read manufacturer / device id instruction that provides both the jedec assigned manufacturer id and the specific device id at 4x speed. the read manufacturer / device id quad i/o instruction is similar to the fast read quad i/o instruction. the instruction is initiated by driving the /cs pin low and shifting the instruction code ?94h? followed by a four clock dummy cycles and then a 24-bit address (a23-a0) of 000000h, but with the capability to input the address bits four bits per clock. after which, the manufacturer id for winbond (efh) and the device id are shifted out four bits per clock on the falling edge of clk with most significant bit (msb) first as shown in figure 31. the device id values for the w25q16d w is listed in manufacturer and device identification table. if the 24-bit address is initially set to 000001h the device id will be read first and then followed by the manufacturer id. the manufacturer and device ids can be read continuously, alternating from one to the other. the instruction is completed by driving /cs high. mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (94h) high impedance 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 5 1 4 0 23 mode 0 mode 3 ios switch from input to output high impedance 7 3 6 2 /cs clk io 0 io 1 io 2 io 3 high impedance a23-16 a15-8 a7-0 (00h) m7-0 mfr id device id dummy dummy /cs clk io 0 io 1 io 2 io 3 23 0 1 2 3 5 1 4 0 7 3 6 2 5 1 4 0 7 3 6 2 5 1 4 0 7 3 6 2 5 1 4 0 7 3 6 2 5 1 4 0 7 3 6 2 5 1 4 0 7 3 6 2 5 1 4 0 7 3 6 2 5 1 4 0 7 3 6 2 5 1 4 0 7 3 6 2 24 25 26 27 28 29 30 mfr id device id (repeat) (repeat) mfr id device id (repeat) (repeat) figure 31. read manufacturer / device id quad i/o instruction (spi mode only) note: the ?continuous read mode? bits m(7-0) must be set to fxh to be compatible with fast read quad i/o instruction.
w25q16dw publication release date: september 06, 2012 - 59 - revision f 7.2.33 read unique id number (4bh) the read unique id number instruction accesses a factory-set read-only 64-bit number that is unique to each w25q16dw device. the id number can be used in conjunction with user software methods to help prevent copying or cloning of a system. the read unique id instruction is initiated by driving the /cs pin low and shifting the instruction code ?4bh? followed by a four bytes of dummy clocks. after which, the 64- bit id is shifted out on the falling edge of clk as shown in figure 32. /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (4bh) high impedance 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 /cs clk di (io 0 ) do (io 1 ) 24 25 26 27 28 29 30 31 32 33 34 36 37 38 35 23 mode 0 mode 3 * dummy byte 1 dummy byte 2 39 40 41 42 dummy byte 3 dummy byte 4 63 62 61 2 1 0 64-bit unique serial number 100 101 102 high impedance = msb * figure 32. read unique id number instruction (spi mode only)
w25q16dw - 60 - 7.2.34 read jedec id (9fh) for compatibility reasons, the w25q16dw provides several instructions to electronically determine the identity of the device. the read jedec id instruction is compatible with the jedec standard for spi compatible serial memories that was adopted in 2003. the instruction is initiated by driving the /cs pin low and shifting the instruction code ?9fh?. the jedec assigned manufacturer id byte for winbond (efh) and two device id bytes, memory type (id15-id8) and capacity (id7-id0) are then shifted out on the falling edge of clk with most significant bit (msb) first as shown in figure 33a & 33b. for memory type and capacity values refer to manufacturer and device identification table. /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (9fh) high impedance 8 9 10 12 13 14 15 capacity id7-0 /cs clk di (io 0 ) do (io 1 ) 16 17 18 19 20 21 22 23 manufacturer id (efh) 24 25 26 28 29 30 7 6 5 4 3 2 1 0 * 27 15 mode 0 mode 3 11 7 6 5 4 3 2 1 0 * memory type id15-8 = msb * figure 33a. read jedec id instruction (spi mode) /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 9fh 2 3 4 5 12 8 13 9 14 10 15 11 efh 6 4 0 5 1 6 2 7 3 id15-8 id7-0 ios switch from input to output instruction mode 0 mode 3 figure 33b. read jedec id instruction (qpi mode)
w25q16dw publication release date: september 06, 2012 - 61 - revision f 7.2.35 erase security registers (44h) the w25q16dw offers four 256-byte security registers which can be erased and programmed individually. these registers may be used by the system manufacturers to store security and other important information separately from the main memory array. the erase security register instruction is similar to the sector erase instruction. a write enable instruction must be executed before the device will accept the erase security register instruction (status register bit wel must equal 1). the instruction is initiated by driving the /cs pin low and shifting the instruction code ?44h? followed by a 24-bit address (a23-a0) to erase one of the four security registers. address a23-16 a15-12 a11-8 a7-0 security register #0* 00h 0 0 0 0 0 0 0 0 don?t care security register #1 00h 0 0 0 1 0 0 0 0 don?t care security register #2 00h 0 0 1 0 0 0 0 0 don?t care security register #3 00h 0 0 1 1 0 0 0 0 don?t care * please note that security register 0 is reserved by winbond for future use. it is recommended to use security registers 1- 3 before using register 0 . the erase security register instruction sequence is shown in figure 34. the /cs pin must be driven high after the eighth bit of the last byte has been latched. if this is not done the instruction will not be executed. after /cs is driven high, the self-timed erase security register operation will commence for a time duration of t se (see ac characteristics). while the erase security register cycle is in progress, the read status register instruction may still be accessed for checking the status of the busy bit. the busy bit is a 1 during the erase cycle and becomes a 0 when the cycle is finished and the device is ready to accept other instructions again. after the erase security register cycle has finished the write enable latch (wel) bit in the status register is cleared to 0. the security register lock bits (lb3-0) in the status register-2 can be used to otp protect the security registers. once a lock bit is set to 1, the corresponding security register will be permanently locked, erase security register instruction to that register will be ignored (see 11.1.9 for detail descriptions). /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (44h) high impedance 8 9 29 30 31 24-bit address 23 22 2 1 0 * mode 0 mode 3 = msb * figure 34. erase security registers instruction (spi mode only)
w25q16dw - 62 - 7.2.36 program security registers (42h) the program security register instruction is similar to the page program instruction. it allows from one byte to 256 bytes of security register data to be programmed at previously erased (ffh) memory locations. a write enable instruction must be executed before the device will accept the program security register instruction (status register bit wel= 1). t he instruction is initiated by driving the /cs pin low then shifting the instruction code ?42h? followed by a 24-bit address (a23-a0) and at least one data byte, into the di pin. the /cs pin must be held low for the entire length of the instruction while data is being sent to the device. address a23-16 a15-12 a11-8 a7-0 security register #0* 00h 0 0 0 0 0 0 0 0 byte address security register #1 00h 0 0 0 1 0 0 0 0 byte address security register #2 00h 0 0 1 0 0 0 0 0 byte address security register #3 00h 0 0 1 1 0 0 0 0 byte address * please note that security register 0 is reserved by winbond for future use. it is recommended to use security registers 1- 3 before using register 0 . the program security register instruction sequence is shown in figure 35. the security register lock bits (lb3-0) in the status register-2 can be used to otp protect the security registers. once a lock bit is set to 1, the corresponding security register will be permanently locked, program security register instruction to that register will be ignored (see 11.1.9, 11.2.21 for detail descriptions). /cs clk di (io 0 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (42h) 8 9 10 28 29 30 39 24-bit address 23 22 21 3 2 1 * /cs clk 40 di (io 0 ) 41 42 43 44 45 46 47 data byte 2 48 49 50 52 53 54 55 2072 51 39 7 6 5 4 3 2 1 0 0 31 0 32 33 34 35 36 37 38 data byte 1 7 6 5 4 3 2 1 * mode 0 mode 3 data byte 3 2073 2074 2075 2076 2077 2078 2079 0 data byte 256 = msb * * 7 6 5 4 3 2 1 0 * 7 6 5 4 3 2 1 0 * figure 35. program security registers instruction (spi mode only)
w25q16dw publication release date: september 06, 2012 - 63 - revision f 7.2.37 read security registers (48h) the read security register instruction is similar to the fast read instruction and allows one or more data bytes to be sequentially read from one of the four security registers. the instruction is initiated by driving the /cs pin low and then shifting the instruction code ?48h? followed by a 24-bit address (a23-a0) and eight ?dummy? clocks into the di pin. the code and address bits are latched on the rising edge of the clk pin. after the address is received, the data byte of the addressed memory location will be shifted out on the do pin at the falling edge of clk with most significant bit (msb) first. the byte address is automatically incremented to the next byte address after each byte of data is shifted out. once the byte address reaches the last byte of the register (byte ffh), it will reset to 00h, the first byte of the register, and continue to increment. the instruction is completed by driving /cs high. the read security register instruction sequence is shown in figure 36. if a read security register instruction is issued while an erase, program or write cycle is in process (busy=1) the instruction is ignored and will not have any effects on the current cycle. the read security register instruction allows clock rates from d.c. to a maximum of f r (see ac electrical characteristics). address a23-16 a15-12 a11-8 a7-0 security register #0* 00h 0 0 0 0 0 0 0 0 byte address security register #1 00h 0 0 0 1 0 0 0 0 byte address security register #2 00h 0 0 1 0 0 0 0 0 byte address security register #3 00h 0 0 1 1 0 0 0 0 byte address * please note that security register 0 is reserved by winbond for future use. it is recommended to use security registers 1- 3 before using register 0 . /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (48h) high impedance 8 9 10 28 29 30 31 24-bit address 23 22 21 3 2 1 0 data out 1 * /cs clk di (io 0 ) 32 do (io 1 ) 33 34 35 36 37 38 39 dummy byte high impedance 40 41 42 44 45 46 47 48 49 50 51 52 53 54 55 7 6 5 4 3 2 1 0 7 data out 2 7 6 5 4 3 2 1 0 43 31 0 = msb * * 7 6 5 4 3 2 1 0 * figure 36. read security registers instruction (spi mode only)
w25q16dw - 64 - 7.2.38 set read parameters (c0h) in qpi mode, to accommodate a wide range of applications with different needs for either maximum read frequency or minimum data access latency, ?set read parameters (c0h)? instruction can be used to configure the number of dummy clocks for ?fast read (0bh)?, ?fast read quad i/o (ebh)? & ?burst read with wrap (0ch)? instructions, and to configure the number of bytes of ?wrap length? for the ?burst read with wrap (0ch)? instruction. in standard spi mode, the ?set read parameters (c0h)? instruction is not accepted. the dummy clocks for various fast read instructions in standard/dual/quad spi mode are fixed, please refer to the instruction table 7.2.2-7.2.4 for details. the ?wrap length? is set by w5-4 bit in the ?set burst with wrap (77h)? instruction. this setting will remain unchanged when the device is switched from standard spi mode to qpi mode. the default ?wrap length? after a power up or a reset instruction is 8 bytes, the default number of dummy clocks is 2. the number of dummy clocks is only programmable for ?fast read (0bh)?, ?fast read quad i/o (ebh)? & ?burst read with wrap (0ch)? instructions in the qpi mode. whenever the device is switched from spi mode to qpi mode, the number of dummy clocks should be set again, prior to any 0bh, ebh or 0ch instructions. p5 ? p4 dummy clocks maximum read freq. maximum read freq. (a[1:0]=0,0) p1 ? p0 wrap length 0 0 2 30mhz 30mhz 0 0 8-byte 0 1 4 50mhz 80mhz 0 1 16-byte 1 0 6 80mhz 104mhz 1 0 32-byte 1 1 8 104mhz 104mhz 1 1 64-byte /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 c0h 2 3 read parameters p4 p0 p5 p1 p6 p2 p7 p3 instruction mode 0 mode 3 figure 37. set read parameters instruction (qpi mode only)
w25q16dw publication release date: september 06, 2012 - 65 - revision f 7.2.39 burst read with wrap (0ch) the ?burst read with wrap (0ch)? instruction provi des an alternative way to perform the read operation with ?wrap around? in qpi mode. the instruction is similar to the ?fast read (0bh)? instruction in qpi mode, except the addressing of the read operation will ?wrap around? to the beginning boundary of the ?wrap length? once the ending boundary is reached. the ?wrap length? and the number of dummy clocks can be configured by the ?set read parameters (c0h)? instruction. dummy * /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 0ch 2 3 4 5 20 16 12 8 21 17 22 18 23 19 13 9 14 10 15 11 a23-16 6 7 8 9 4 0 5 1 6 2 7 3 a15-8 a7-0 byte 1 byte 2 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 10 11 12 13 14 4 5 6 7 ios switch from input to output * "set read parameters" instruction (c0h) can byte 3 instruction set the number of dummy clocks. figure 38. burst read with wrap instruction (qpi mode only)
w25q16dw - 66 - (io 1 ) 7.2.40 enable qpi (38h) the w25q16dw support both standard/dual/quad serial peripheral interface (spi) and quad peripheral interface (qpi). however, spi mode and qpi mode can not be used at the same time. ?enable qpi (38h)? instruction is the only way to switch the device from spi mode to qpi mode. upon power-up, the default state of the device upon is standard/dual/quad spi mode. this provides full backward compatibility with earlier generations of winbond serial flash memories. see intruction set table 1-3 for all supported spi commands. in order to switch the device to qpi mode, the quad enable (qe) bit in status register 2 must be set to 1 first, and an ?enable qpi (38h)? instruction must be issued. if the quad enable (qe) bit is 0, the ?enable qpi (38h)? instruction will be ignored and the device will remain in spi mode. see instruction set table 4 for all the commands supported in qpi mode. when the device is switched from spi mode to qpi mode, the exsiting write enable and program/erase suspend status, and the wrap length setting will remain unchanged. /cs clk di (io 0 ) do mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (38h) high impedance mode 0 mode 3 figure 39. enable qpi instruction (spi mode only)
w25q16dw publication release date: september 06, 2012 - 67 - revision f 7.2.41 disable qpi (ffh) in order to exit the qpi mode and return to the standard/dual/quad spi mode, a ?disable qpi (ffh)? instruction must be issued. when the device is switched from qpi mode to spi mode, the exsiting write enable latch (wel) and program/erase suspend status, and the wrap length setting will remain unchanged. /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 ffh instruction mode 0 mode 3 figure 40. disable qpi instruction (qpi mode only)
w25q16dw - 68 - 7.2.42 enable reset (66h) and reset (99h) because of the small package and the limitation on the number of pins, the w25q16dw provide a software reset instruction instead of a dedicated reset pin. once the reset instruction is accepted, any on-going internal operations will be terminated and the device will return to its default power-on state and lose all the current volatile settings, such as vola tile status register bits, write enable latch (wel) status, program/erase suspend status, read parameter setting (p7-p0), continuous read mode bit setting (m7-m0) and wrap bit setting (w6-w4). ?enable reset (66h)? and ?reset (99h)? instructions can be issued in either spi mode or qpi mode. to avoid accidental reset, both instructions must be issued in sequence. any other commands other than ?reset (99h)? after the ?enable reset (66h)? command will disable the ?reset enable? state. a new sequence of ?enable reset (66h)? and ?reset (99h)? is needed to reset the device. once the reset command is accepted by the device, the device will take approximately trst=30us to reset. during this period, no command will be accepted. data corruption may happen if there is an on-going or suspended internal erase or program operation when reset command sequence is accepted by the device. it is recommended to check the busy bit and the sus bit in status register before issuing the reset command sequence. mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (99h) mode 0 mode 3 /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (66h) high impedance figure 41a. enable reset and reset instruction sequence (spi mode) mode 0 mode 3 0 1 99h instruction mode 0 mode 3 /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 66h instruction figure 41b. enable reset and reset instruction sequence (qpi mode)
w25q16dw publication release date: september 06, 2012 - 69 - revision f 8. electrical characteristics 8.1 absolute maximum ratings (1) parameters symbol conditions range unit supply voltage vcc ?0.6 to vcc+0.6 v voltage applied to any pin v io relative to ground ?0.6 to vcc+0.6 v transient voltage on any pin v iot <20ns transient relative to ground ?1.0v to vcc+1.0v v storage temperature t stg ?65 to +150 c lead temperature t lead see note (2) c electrostatic discharge voltage v esd (3) human body model (hbm) machine model (mm) charge device model (cdm) ?2000 to +2000 ?200 to +200 ?750 to +750 v notes: 1. this device has been designed and tested for the specified operation ranges. proper operation outside of these levels is not guaranteed. exposure to absolute maximum ratings may affect device reliability. exposure beyond absolute maximum ratings may cause permanent damage. 2. compliant with jedec standard j-std-20c for small body sn-pb or pb-free (green) assembly and the european directive on restrictions on hazardous substances (rohs) 2002/95/eu. 3. esd test condition: hbm ? jesd22-a114c.01 mm ? eia/jesd22-a115-a cdm ? jesd22-c101-c 8.2 operating ranges parameter symbol conditions spec unit min max supply voltage (1) vcc f r = 80mhz, f r = 50mhz f r = 104mhz, f r = 50mhz 1.65 1.7 1.95 v ambient temperature, operating t a industrial ?40 +85 c note: 1. vcc voltage during read can operate across the min and max range but should not exceed 10% of the programming (erase/write) voltage.
w25q16dw - 70 - 8.3 power-up power-down timing and requirements parameter symbol spec unit min max vcc (min) to /cs low t vsl (1) 10 s time delay before write instruction t puw (1) 1 10 ms write inhibit threshold voltage v wi (1) 1.0 1.4 v note: 1. these parameters are characterized only. vcc tvsl read instructions allowed device is fully accessible tpuw /cs must track vcc program, erase and write instructions are ignored reset state vcc (max) vcc (min) v wi time figure 43a. power-up timing and voltage levels vcc time /cs must track vcc during vcc ramp up/down /cs figure 43b. power-up, power-down requirement
w25q16dw publication release date: september 06, 2012 - 71 - revision f 8.4 dc electrical characteristics parameter symbol conditions spec unit min typ max input capacitance c in (1) v in = 0v (1) 6 pf output capacitance cout (1) v out = 0v (1) 8 pf input leakage i li 2 a i/o leakage i lo 2 a standby current i cc 1 /cs = vcc, vin = gnd or vcc 10 25 a power-down current i cc 2 /cs = vcc, vin = gnd or vcc 1 15 a current read data / dual /quad 1mhz (2) i cc 3 c = 0.1 vcc / 0.9 vcc do = open 2/3/4 6 ma current read data / dual /quad 50mhz (2) i cc 3 c = 0.1 vcc / 0.9 vcc do = open 4/5/6 12 ma current read data / dual /quad 80mhz (2) i cc 3 c = 0.1 vcc / 0.9 vcc do = open 7/8/9 20 ma current read data / dual output read/quad output read 104mhz (2) i cc 3 c = 0.1 vcc / 0.9 vcc do = open 8/9/10 20 ma current write status register i cc 4 /cs = vcc 8 12 ma current page program i cc 5 /cs = vcc 20 30 ma current sector/block erase i cc 6 /cs = vcc 20 30 ma current chip erase i cc 7 /cs = vcc 20 30 ma input low voltage v il ?0.5 vcc x 0.3 v input high voltage v ih vcc x 0.7 vcc + 0.6 v output low voltage v ol i ol = 100 a 0.2 v output high voltage v oh i oh = ?100 a vcc ? 0.2 v notes: 1. tested on sample basis and specified through design and characterization data. ta = 25 c, vcc = 1.8v. 2. checker board pattern.
w25q16dw - 72 - 8.5 ac measurement conditions parameter symbol spec unit min max load capacitance c l 30 pf input rise and fall times t r , t f 5 ns input pulse voltages v in 0.1 vcc to 0.9 vcc v input timing reference voltages in 0.3 vcc to 0.7 vcc v output timing reference voltages o ut 0.5 vcc to 0.5 vcc v note: 1. output hi-z is defined as the point where data out is no longer driven. input and output timing reference levels input levels 0.9 vcc 0.1 vcc 0.5 vcc figure 39. ac measurement i/o waveform
w25q16dw publication release date: september 06, 2012 - 73 - revision f 8.6 ac electrical characteristics description symbol alt spec unit min typ max clock frequency for spi read data instructions (03h) f r d.c. 50 mhz clock frequency for spi quad read instructions (6bh,ebh,e7h,e3h) f r f c1 d.c. 80 mhz clock frequency for qpi read instructions(0bh, ebh,0ch) with 2/4/6/8 dummy clocks (1.7v - 1.95v) f r f c1 d.c. 30/50/80/104 mhz clock frequency for qpi read instructions(0bh, ebh,0ch) with 2/4/6/8 dummy clocks, a<1:0>=0,0 (1.7v - 1.95v) f r f c1 d.c. 30/80/104/104 mhz clock frequency for all other spi/qpi instructions (1.7v - 1.95v) f r f c1 d.c. 104 mhz clock frequency for all other spi/qpi instructions (1.65v - 1.95v) f r f c1 d.c. 80 mhz clock high, low time for all instructions except for read data (03h) t clh ,t cll (1) 4 ns clock high, low time for read data (03h) instruction t crlh , t crll (1) 4 ns clock rise time peak to peak t clch (2) 0.1 v/ns clock fall time peak to peak t chcl (2) 0.1 v/ns /cs active setup time relative to clk t slch t css 5 ns /cs not active hold time relative to clk t chsl 5 ns data in setup time t dvch t dsu 2 ns data in hold time t chdx t dh 3 ns /cs active hold time relative to clk t chsh 3 ns /cs not active setup time relative to clk t shch 3 ns /cs deselect time (for array read ? array read) t shsl 1 t csh 5 ns /cs deselect time (f or erase or program ? read status registers) volatile status register write time t shsl 2 t csh 50 50 ns output disable time t shqz (2) t dis 7 ns clock low to output valid t clqv 1 t v 1 7 ns clock low to output valid (for read id instructions) t clqv 2 t v 2 7 ns output hold time t clqx t ho 2 ns /hold active setup time relative to clk t hlch 3 ns continued ? next page
w25q16dw - 74 - 8.7 ac electrical characteristics ( cont?d) description symbol alt spec unit min typ max /hold active hold time relative to clk t chhh 3 ns /hold not active setup time relative to clk t hhch 3 ns /hold not active hold time relative to clk t chhl 3 ns /hold to output low-z t hhqx (2) t lz 7 ns /hold to output high-z t hlqz (2) t hz 12 ns write protect setup time before /cs low t whsl (3) 20 ns write protect hold time after /cs high t shwl (3) 100 ns /cs high to power-down mode t dp (2) 3 s /cs high to standby mode without electronic signature read t res 1 (2) 30 s /cs high to standby mode wi th electronic signature read t res 2 (2) 30 s /cs high to next instruction after suspend t sus (2) 20 s /cs high to next instruction after reset t rst (2) 30 s write status register time t w 10 15 ms byte program time (first byte) (4) t bp1 20 40 s additional byte program ti me (after first byte) (4) t bp2 2.5 5 s page program time t pp 0.4 3 ms sector erase time (4kb) t se 50 200/400 (5) ms block erase time (32kb) t be 1 120 800 ms block erase time (64kb) t be 2 150 1,000 ms chip erase time t ce 3 10 s notes: 1. clock high + clock low must be less than or equal to 1/f c . 2. value guaranteed by design and/or characterization, not 100% tested in production. 3. only applicable as a constraint for a write status register instruction when srp[1:0]=(0,1). 4. for multiple bytes after first byte within a page, t bpn = t bp1 + t bp2 * n (typical) and t bpn = t bp1 + t bp2 * n (max), where n = number of bytes programmed. 5. max value t se with <50k cycles is 200ms and >50k & <100k cycles is 400ms.
w25q16dw publication release date: september 06, 2012 - 75 - revision f 8.8 serial output timing /cs clk io output tclqx tclqv tclqx tclqv tshqz tcll lsb out tclh msb out 8.9 serial input timing /cs clk io input tchsl msb in tslch tdvch tchdx tshch tchsh tclch tchcl lsb in tshsl 8.10 /hold timing /cs clk io output /hold tchhl thlch tchhh thhch thlqz thhqx io input 8.11 /wp timing /cs clk /wp twhsl tshwl io input write status register is allowed write status register is not allowed
w25q16dw - 76 - 9. package specification 9.1 8-pin soic 150-mil (package code sn) l o c d a1 a e b seating plane y 0.25 gauge plane e h e 1 8 5 4 symbol millimeters inches min max min max a 1.35 1.75 0.053 0.069 a1 0.10 0.25 0.004 0.010 b 0.33 0.51 0.013 0.020 c 0.19 0.25 0.008 0.010 e 3.80 4.00 0.150 0.157 d 4.80 5.00 0.188 0.196 e 1.27 bsc 0.050 bsc h e 5.80 6.20 0.228 0.244 y --- 0.10 --- 0.004 l 0.40 1.27 0.016 0.050 0 10 0 10
w25q16dw publication release date: september 06, 2012 - 77 - revision f 9.2 8-pin soic 208-mil (package code ss) symbol millimeters inches min nom max min nom max a 1.75 1.95 2.16 0.069 0.077 0.085 a1 0.05 0.15 0.25 0.002 0.006 0.010 a2 1.70 1.80 1.91 0.067 0.071 0.075 b 0.35 0.42 0.48 0.014 0.017 0.019 c 0.19 0.20 0.25 0.007 0.008 0.010 d 5.18 5.28 5.38 0.204 0.208 0.212 d1 5.13 5.23 5.33 0.202 0.206 0.210 e 5.18 5.28 5.38 0.204 0.208 0.212 e1 5.13 5.23 5.33 0.202 0.206 0.210 e 1.27 bsc 0.050 bsc h 7.70 7.90 8.10 0.303 0.311 0.319 l 0.50 0.65 0.80 0.020 0.026 0.031 y --- --- 0.10 --- --- 0.004 0 --- 8 0 --- 8
w25q16dw - 78 - 9.3 8-pad wson 6x5-mm (package code zp) symbol millimeters inches min nom max min nom max a 0.70 0.75 0.80 0.028 0.030 0.031 a1 0.00 0.02 0.05 0.000 0.001 0.002 b 0.35 0.40 0.48 0.014 0.016 0.019 c --- 0.20 ref --- --- 0.008 ref --- d 5.90 6.00 6.10 0.232 0.236 0.240 d2 3.35 3.40 3.45 0.132 0.134 0.136 e 4.90 5.00 5.10 0.193 0.197 0.201 e2 4.25 4.30 4.35 0.167 0.169 0.171 e 1.27 bsc 0.050 bsc l 0.55 0.60 0.65 0.022 0.024 0.026 y 0.00 --- 0.075 0.000 --- 0.003
w25q16dw publication release date: september 06, 2012 - 79 - revision f 8-pad wson 6x5-mm (cont?d.) symbol millimeters inches min nom max min nom max solder pattern m 3.40 0.134 n 4.30 0.169 p 6.00 0.236 q 0.50 0.020 r 0.75 0.026 notes: 1. advanced packaging information; please contact winbond for the latest minimum and maximum specifications. 2. bsc = basic lead spacing between centers. 3. dimensions d and e do not include mold flash protrusions and should be measured from the bottom of the package. 4. is it recommended to connect the metal pad area on the bottom center of the package to the device ground (gnd pin). avoid placement of exposed pcb vias under the pad.
w25q16dw - 80 - 9.4 8-ball wlbga (package code by) symbol millimeters inches min nom max min nom max a 0.431 0.472 0.512 0.017 0.019 0.020 a1 0.152 0.167 0.182 0.006 0.007 0.007 c 0.279 0.305 0.330 0.011 0.012 0.013 d 1.703 1.758 1.783 0.067 0.069 0.070 e 2.658 2.713 2.738 0.105 0.107 0.108 d1 --- 0.5000 --- --- 0.0197 --- d2 --- 0.629 --- --- 0.0248 --- d3 --- 0.629 --- --- 0.0248 --- e1 --- 1.5000 --- --- 0.0591 --- e2 --- 0.6065 --- --- 0.0239 --- e3 --- 0.6065 --- --- 0.0239 --- b 0.240 0.300 0.360 0.009 0.012 0.014 aaa 0.10 0.004 bbb 0.10 0.004 ccc 0.03 0. 001 ddd 0.15 0.006 eee 0.05 0.002 note: dimension b is measured at the maximum solder bump diameter, parallel to primary datum c.
w25q16dw publication release date: september 06, 2012 - 81 - revision f 9.5 8-pad uson 4x3-mm (package code uu) symbol millimeters inches min nom max min nom max a 0.50 0.55 0.60 0.020 0.022 0.024 a1 0.00 0.02 0.05 0.000 0.001 0.002 a3 --- 0.15 --- --- 0.006 --- b 0.25 0.30 0.35 0.010 0.012 0.014 d 3.90 4.00 4.10 0.153 0.157 0.161 d1 0.70 0.80 0.90 0.027 0.031 0.035 d2 0.70 0.80 0.90 0.027 0.031 0.035 e 2.90 3.00 3.10 0.114 0.118 0.122 e1 0.10 0.20 0.30 0.004 0.008 0.012 e 0.80 bsc 0.031 bsc l 0.55 0.60 0.65 0.022 0.024 0.026
w25q16dw - 82 - 9.6 16-pin soic 300-mil (package code sf) symbol millimeters inches min nom max min nom max a 2.36 2.49 2.64 0.093 0.098 0.104 a1 0.10 --- 0.30 0.004 --- 0.012 a2 --- 2.31 --- --- 0.091 --- b 0.33 0.41 0.51 0.013 0.016 0.020 c 0.18 0.23 0.28 0.007 0.009 0.011 d 10.08 10.31 10.49 0.397 0.406 0.413 e 10.01 10.31 10.64 0.394 0.406 0.419 e1 7.39 7.49 7.59 0.291 0.295 0.299 e 1.27 bsc 0.050 bsc l 0.38 0.81 1.27 0.015 0.032 0.050 y --- --- 0.076 --- --- 0.003 0 --- 8 0 --- 8
w25q16dw publication release date: september 06, 2012 - 83 - revision f 10. ordering information w (1) 25q 16d w x x (2) (3,4) g = green package (lead-free, rohs compliant, halogen-free (tbba), an timony-oxide-free sb 2 o 3 ) p = green package with status register power-down & otp enabled i = industrial (-40c to +85c) sn = 8-pin soic 150-mil ss = 8-pin soic 208-mil by = 8-ball wlbga sf = 16-pin soic 300-mil zp = 8-pad wson 6x5mm uu = 8-pad uson 4x3mm w = 1.65v to 1.95v 16d = 16m-bit 25q = spiflash serial flash memory with 4kb sectors, dual/quad i/o w = winbond notes: 1. the ?w? prefix is not included on the part marking. 2. only the 2 nd letter is used for the part marking; wson pack age type zp is not used for the part marking. 3. standard bulk shipments are in tube (shape e). alternat ive packing methods, such as tape & reel (shape t) or tray (shape s), are available as special orders. 4. for shipment with otp feature enabled, please specify when placing orders.
w25q16dw - 84 - 10.1 valid part numbers and top side marking the following table provides the valid part numbers for the w25q16dw spiflash memory. please contact winbond for specific availability by density and package type. winbond spiflash memories use an 12-digit product number for ordering. however, due to limited space, the top side marking on all packages use an abbreviated 9 or 10-digit number. package type density product number top side marking sn (2) soic-8 150mil 16m-bit w25q16dwsnig w25q16dwsnip 25q16dwnig 25q16dwnip ss soic-8 208mil 16m-bit w25q16dwssig w25q16dwssip 25q16dwsig 25q16dwsip sf (2) soic-16 300mil 16m-bit w25q16dwsfig w25q16dwsfip 25q16dwfig 25q16dwfip zp (1) wson-8 6x5mm 16m-bit w25q16dwzpig w25q16dwzpip 25q16dwig 25q16dwip uu uson-8 4x3mm 16m-bit w25q16dwuuig w25q16dwuuip q16dwuuig q16dwuuip by (3) wlbga-8 16m-bit W25Q16DWBYIG 4axx notes: 1. for wson packages, the package type zp is not used in the top side marking. 2. these package types are special order onl y, please contact winbond for availability. 3. wlbga package type by has special top marking due to size limitation. 4 = 16mb; a = w25q series, 1.8v; xx = date code (year, work week).
w25q16dw publication release date: september 06, 2012 - 85 - revision f 11. revision history version date page description a 08/03/10 new create preliminary b 06/17/11 7, 80, 82-83 69, 71, 73-74 added dbga package updated ordering information updated dc/ac parameters, vcc range c 11/16/11 5, 7, 80, 82-83 updated package name to wlbga d 12/20/11 5, 69, 71, 73-74 updated vcc range, dc/ac parameters e 05/14/12 all removed preliminary designator f 09/06/12 69 9, 13, 70 81, 83-84 updated esd test conditions updated power down requirement added uson 4x3mm package trademarks winbond and spiflash are trademarks of winbond electronics corporation. all other marks are the property of their respective owner. important notice winbond products are not designed, intended, authorized or warranted for use as components in systems or equipment intended for surgical implantation, atomic energy control instruments, airplane or spaceship instruments, transportation instruments, traffic signal instruments, combustion control instruments, or for other applications intended to support or sustain life. further more, winbond products are not intended for applications wherein failure of winbond products could result or lead to a situation wherein personal injury, death or severe property or environmental damage could occur. winbond customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify winbond for any damages resulting from such improper use or sales. information in this document is provided solely in connection with winbond products. winbond reserves the right to make changes, corrections, modifications or improvements to this document and the products and services described herein at an y time, without notice.


▲Up To Search▲   

 
Price & Availability of W25Q16DWBYIG

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X